Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
wax100 committed Jun 14, 2019
1 parent ada631e commit 41196a9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions manager/templates/default/dashboard/recentlyeditedresources.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
{else}
<div class="no-results">{$_lang.w_no_data}</div>
{/if}
<div class="widget-footer">
<a href="{$_config.manager_url}?a=system/logs">{$_lang.w_view_all} &rarr;</a>
</div>
</div>
{if $modx->hasPermission('logs')}
<div class="widget-footer">
<a href="{$_config.manager_url}?a=system/logs">{$_lang.w_view_all} &rarr;</a>
</div>
{/if}
</div>

0 comments on commit 41196a9

Please sign in to comment.