Skip to content
Snippets Groups Projects
Commit 2b724a20 authored by Florian Will's avatar Florian Will
Browse files

[TASK] changed SelectRoot

parent 2bac4ef4
No related branches found
No related tags found
1 merge request!52Feature 5168 unify root page selector
{namespace sg=SGalinski\SgJobs\ViewHelpers}
<p>
<f:translate key="backend.selectRootPage" />
</p>
<f:if condition="{pages}">
<div class="panel panel-default recordlist">
<div class="panel-heading">
<f:translate key="backend.selectRootPage"/>
</div>
<div class="table-fit">
<table data-table="pages" class="table table-striped table-hover">
<tbody>
<f:for each="{pages}" as="page">
<tr data-uid="{page.uid}">
<td nowrap="nowrap" class="col-title">
<f:link.action class="sg-jobs_pageswitch"
action="index"
additionalParams="{id: page.uid}"
additionalAttributes="{data-page: page.uid, data-path: page.path}">
<core:iconForRecord table="pages" row="{page}" />
{page._thePathFull}
</f:link.action>
</td>
</tr>
</f:for>
<f:for each="{pages}" as="page">
<tr data-uid="{page.uid}">
<td nowrap="nowrap" class="col-title">
<f:link.action class="sg-jobs_pageswitch"
action="index"
additionalParams="{id: page.uid}"
additionalAttributes="{data-page: page.uid, data-path: page.path}">
<core:iconForRecord table="pages" row="{page}"/>
{page._thePathFull}
</f:link.action>
</td>
</tr>
</f:for>
</tbody>
</table>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment