Skip to content

Commit

Permalink
feat: added quick link to edit privileges on the category edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
psychobunny committed Jul 17, 2020
1 parent 91bdc12 commit 06143ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/language/en-GB/admin/manage/privileges.json
Expand Up @@ -4,6 +4,7 @@
"admin": "Admin",
"group-privileges": "Group Privileges",
"user-privileges": "User Privileges",
"edit-privileges": "Edit Privileges",
"chat": "Chat",
"upload-images": "Upload Images",
"upload-files": "Upload Files",
Expand Down Expand Up @@ -33,7 +34,6 @@
"delete-topics": "Delete Topics",
"purge": "Purge",
"moderate": "Moderate",

"admin-dashboard": "Dashboard",
"admin-categories": "Categories",
"admin-privileges": "Privileges",
Expand Down
3 changes: 3 additions & 0 deletions src/views/admin/manage/category.tpl
Expand Up @@ -177,6 +177,9 @@
</div>
</fieldset>
<hr/>
<a href="{config.relative_path}/admin/manage/privileges/{category.cid}" class="btn btn-info btn-block">
<i class="fa fa-gear"></i> [[admin/manage/privileges:edit-privileges]]
</a>
<button class="btn btn-info btn-block copy-settings">
<i class="fa fa-files-o"></i> [[admin/manage/categories:copy-settings]]
</button>
Expand Down

0 comments on commit 06143ca

Please sign in to comment.