Move test for showing site admin panel to site admin panel template, so doesn't have to be repeated in various individual templates.
This commit is contained in:
parent
b354d97972
commit
910526ddd5
1 changed files with 15 additions and 13 deletions
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
<#-- Template for admin panel on individual profile page -->
|
<#-- Template for admin panel on individual profile page -->
|
||||||
|
|
||||||
<section id="admin">
|
<#if individual.showAdminPanel>
|
||||||
|
<section id="admin">
|
||||||
<h3>Admin Panel</h3><a class="edit-individual" href="${individual.editUrl}">Edit this individual</a>
|
<h3>Admin Panel</h3><a class="edit-individual" href="${individual.editUrl}">Edit this individual</a>
|
||||||
|
|
||||||
<#if verbosePropertyForm??>
|
<#if verbosePropertyForm??>
|
||||||
|
@ -15,4 +16,5 @@
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank">${individual.uri}</a></p>
|
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank">${individual.uri}</a></p>
|
||||||
</section>
|
</section>
|
||||||
|
</#if>
|
Loading…
Add table
Add a link
Reference in a new issue