mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-14 11:11:38 -05:00
Make admin know they're admin
This commit is contained in:
parent
9c2d2b8c02
commit
1fb80ac6f6
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -85,6 +85,9 @@
|
|||
<details>
|
||||
<summary>
|
||||
<%= "#{current_user.email}" %>
|
||||
<% if current_user.admin? %>
|
||||
<span class='tooltip tooltip-bottom' data-tip="You're an admin, Harry!">⭐️</span>
|
||||
<% end %>
|
||||
</summary>
|
||||
<ul class="p-2 bg-base-100 rounded-t-none z-10">
|
||||
<li><%= link_to 'Account', edit_user_registration_path %></li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue