mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 15:12:13 +02:00
added admin badge
This commit is contained in:
parent
0337a3cb4e
commit
178a01d2f1
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
- else
|
- else
|
||||||
%h1= @user.display_name
|
%h1= @user.display_name
|
||||||
%h3.text-muted= @user.screen_name
|
%h3.text-muted= @user.screen_name
|
||||||
|
- if @user.admin?
|
||||||
|
%span.label.label-danger Admin
|
||||||
%ul.list-group
|
%ul.list-group
|
||||||
%li.list-group-item
|
%li.list-group-item
|
||||||
Followers
|
Followers
|
||||||
|
|
Loading…
Reference in a new issue