Skip to content

Commit

Permalink
Remove domain edit button for non-super admins
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte authored Aug 3, 2016
1 parent 48bbea0 commit a96b760
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions application/views/domain/list.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@
<td>{$domain.created->format( 'Y-m-d' )}</td>
<td>
<div class="btn-group">
<a class="btn btn-mini have-tooltip" id="edit_domain_{$domain.id}" title="Edit" href="{genUrl controller='domain' action='edit' did=$domain.id}">
<i class="icon-pencil"></i>
</a>
{if $user->isSuper()}
<a class="btn btn-mini have-tooltip" id="edit_domain_{$domain.id}" title="Edit" href="{genUrl controller='domain' action='edit' did=$domain.id}">
<i class="icon-pencil"></i>
</a>
{/if}
{if isset( $domain_actions ) }
{assign var=oid value=$mbox.id}
{foreach $domain_actions as $action}
Expand Down

0 comments on commit a96b760

Please sign in to comment.