Commit a8737f3f authored by gezzzan's avatar gezzzan

[FIX] bring buttons and ellipsis menu to have one navbar, also move two less...

[FIX] bring buttons and ellipsis menu to have one navbar, also move two less frequently used buttons (duplicate, permissions) to ellipsis menu, improve permission link to highlight the case of individual permissions
parent 07461cf9
{if $permission_link.mode eq 'text'}
<a class="{if $permission_link.active}text-success{else}text-warning{/if}{if !empty($permission_link.addclass)} {$permission_link.addclass}{/if}" href="{$permission_link.url|escape}">
<a class="{if $permission_link.active}tips bg-warning{/if}{if !empty($permission_link.addclass)} {$permission_link.addclass}{/if}" href="{$permission_link.url|escape}"{if $permission_link.active} title=":{tr}Individual permissions{/tr}"{/if}>
{icon name="permission"} {$permission_link.label|escape}
{if $permission_link.count}
<span class="badge">{$permission_link.count|escape}</span>
{/if}
</a>
{elseif $permission_link.mode eq 'button'}
<a class="{if $permission_link.active and $permission_link.type ne 'file gallery'}btn btn-success{else}btn btn-default{/if}{if !empty($permission_link.addclass)} {$permission_link.addclass}{/if}" href="{$permission_link.url|escape}">
<a class="{if $permission_link.active and $permission_link.type ne 'file gallery'}btn btn-warning{else}btn btn-default{/if}{if !empty($permission_link.addclass)} {$permission_link.addclass}{/if}" href="{$permission_link.url|escape}">
{$permission_link.label|escape}
{if $permission_link.count}
<span class="badge">{$permission_link.count|escape}</span>
......
This diff is collapsed.
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