Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit ee295ee

Browse files
author
Vítor Avelino
committed
sidebar: added users and registries
Added 'Users' and 'Registries' items to the sidebar. So far the only possible way to access those pages were via the admin overview page. A minor enhancement done was the vertical alignment of the icons. Signed-off-by: Vítor Avelino <[email protected]>
1 parent dfc5357 commit ee295ee

File tree

2 files changed

+244
-231
lines changed

2 files changed

+244
-231
lines changed

app/views/shared/_aside.html.slim

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ aside
3131
| Admin
3232
- if current_page?(url_for controller: 'admin/dashboard', action: 'index')
3333
.list-selected
34+
li.active
35+
= link_to admin_users_path
36+
i[class="fa fa-user"]
37+
| Users
38+
- if current_page?(url_for controller: 'admin/users', action: 'index')
39+
.list-selected
40+
li.active
41+
= link_to admin_registries_path
42+
i[class="fa fa-server"]
43+
| Registries
44+
- if current_page?(url_for controller: 'admin/registries', action: 'index')
45+
.list-selected
3446
li.active
3547
= link_to help_index_path
3648
i[class="fa fa-life-ring"]

0 commit comments

Comments
 (0)