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:
rjy7 2011-03-14 18:37:09 +00:00
parent b354d97972
commit 910526ddd5

View file

@ -2,6 +2,7 @@
<#-- Template for admin panel on individual profile page -->
<#if individual.showAdminPanel>
<section id="admin">
<h3>Admin Panel</h3><a class="edit-individual" href="${individual.editUrl}">Edit this individual</a>
@ -16,3 +17,4 @@
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank">${individual.uri}</a></p>
</section>
</#if>