Commit 3d0423af authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove access link for empty collections


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent e9b87dc2
......@@ -24,7 +24,9 @@
<a href="{$WWWROOT}collection/delete.php?id={$collection->id}" class="btn-del">{str tag=delete}</a>
</div>
<div class="viewcontrol">
{if $collection->views[0]->view}
<a href="{$WWWROOT}view/access.php?collection={$collection->id}" title="{str tag=editaccess section=view}"><img src="{theme_url filename='images/icon_access.gif'}" alt="{str tag=editaccess}"></a>
{/if}
</div>
</div>
......
Markdown is supported
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