FIX: only show the backups link in dashboard to administrators

This commit is contained in:
Régis Hanol 2015-09-28 16:51:12 +02:00
parent 2ca8d08acb
commit a7f2741674
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@
<tr>
<td>{{i18n 'admin.dashboard.uploads'}}</td>
<td>{{disk_space.uploads_used}} ({{i18n 'admin.dashboard.space_free' size=disk_space.uploads_free}})</td>
<td><a href="/admin/backups">{{i18n 'admin.dashboard.backups'}}</a></td>
<td>{{#if currentUser.admin}}<a href="/admin/backups">{{i18n 'admin.dashboard.backups'}}</a>{{/if}}</td>
<td>{{disk_space.backups_used}} ({{i18n 'admin.dashboard.space_free' size=disk_space.backups_free}})</td>
</tr>
{{/unless}}