Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
voting.typo3.org
extensions
election
Commits
0d33cf15
Commit
0d33cf15
authored
Dec 22, 2015
by
Oliver Eglseder
Browse files
[TASK] Rename send to preview (ElectionCircular)
parent
89ae8c6d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Classes/Controller/BeElectionCircularController.php
View file @
0d33cf15
...
...
@@ -28,7 +28,7 @@ class BeElectionCircularController extends AbstractProtectedBeController
const
ACTION_EDIT
=
'edit'
;
const
ACTION_UPDATE
=
'update'
;
const
ACTION_DELETE
=
'delete'
;
const
ACTION_
SEND
=
'send
'
;
const
ACTION_
PREVIEW
=
'preview
'
;
/**
* @var \TYPO3\Election\Domain\Repository\ElectionCircularRepository
...
...
@@ -98,7 +98,7 @@ class BeElectionCircularController extends AbstractProtectedBeController
/**
* @param ElectionCircular $electionCircular
*/
public
function
send
Action
(
ElectionCircular
$electionCircular
)
public
function
preview
Action
(
ElectionCircular
$electionCircular
)
{
$this
->
view
->
assign
(
'isPluginInstalled'
,
$this
->
isPluginInstalled
());
$this
->
view
->
assign
(
'electionCircular'
,
$electionCircular
);
...
...
@@ -127,7 +127,7 @@ class BeElectionCircularController extends AbstractProtectedBeController
self
::
ACTION_EDIT
,
self
::
ACTION_UPDATE
,
self
::
ACTION_DELETE
,
self
::
ACTION_
SEND
,
self
::
ACTION_
PREVIEW
,
]
);
}
...
...
Resources/Private/Partials/Model/ElectionCircular/List.html
View file @
0d33cf15
...
...
@@ -33,7 +33,7 @@
<f:link.action
class=
"btn btn-default"
action=
"delete"
controller=
"BeElectionCircular"
arguments=
"{electionCircular:electionCircular}"
>
<core:icon
identifier=
"actions-edit-delete"
/>
</f:link.action>
<f:link.action
class=
"btn btn-default"
action=
"
send
"
controller=
"BeElectionCircular"
arguments=
"{electionCircular:electionCircular}"
>
<f:link.action
class=
"btn btn-default"
action=
"
preview
"
controller=
"BeElectionCircular"
arguments=
"{electionCircular:electionCircular}"
>
<core:icon
identifier=
"actions-move-right"
/>
</f:link.action>
</div>
...
...
Resources/Private/Partials/Model/ElectionCircular/
Send
.html
→
Resources/Private/Partials/Model/ElectionCircular/
Preview
.html
View file @
0d33cf15
File moved
Resources/Private/Templates/BeElectionCircular/
Send
.html
→
Resources/Private/Templates/BeElectionCircular/
Preview
.html
View file @
0d33cf15
...
...
@@ -21,6 +21,6 @@
</f:section>
<f:section
name=
"Main"
>
<f:render
partial=
"Model/ElectionCircular/
Send
"
<f:render
partial=
"Model/ElectionCircular/
Preview
"
arguments=
"{electionCircular:electionCircular,isPluginInstalled:isPluginInstalled,configuration:configuration}"
/>
</f:section>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment