Skip to content

Commit

Permalink
Only show System Info button to admins
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnnd committed Dec 26, 2024
1 parent 13057b9 commit 715a562
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/keila_web/templates/layout/_menu.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@
<%= menu_link(@conn, Routes.shared_sender_admin_path(@conn, :index), gettext("Senders"),
icon: :speakerphone
) %>
<%= menu_link(
@conn,
Routes.instance_admin_path(@conn, :show),
dgettext("admin", "System Info"),
icon: :information_circle
) %>
<% end %>
<%= menu_link(
@conn,
Routes.instance_admin_path(@conn, :show),
dgettext("admin", "System Info"),
icon: :information_circle
) %>
<%= menu_link(@conn, Routes.auth_path(@conn, :logout), gettext("Sign out"), icon: :logout) %>
</nav>
</div>
Expand Down

0 comments on commit 715a562

Please sign in to comment.