Commit 0d33cf15 authored by Oliver Eglseder's avatar Oliver Eglseder
Browse files

[TASK] Rename send to preview (ElectionCircular)

parent 89ae8c6d
......@@ -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 sendAction(ElectionCircular $electionCircular)
public function previewAction(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,
]
);
}
......
......@@ -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>
......
......@@ -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>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment