Skip to content
Snippets Groups Projects
SelectRoot.html 726 B
{namespace sg=SGalinski\SgJobs\ViewHelpers}
<p>
	<f:translate key="backend.selectRootPage" />
</p>
<f:if condition="{pages}">
	<div class="panel panel-default recordlist">
		<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">
								<a href="#" onclick="sgJobsGoToPage({page.uid}, '{page.path}'); return false;">
									<f:format.raw>
										<sg:backend.icon table="pages" row="{page}" clickMenu="0" /> {page._thePathFull}
									</f:format.raw>
								</a>
							</td>
						</tr>
					</f:for>
				</tbody>
			</table>
		</div>
	</div>
</f:if>