tabletop-companion/app/views/layouts/admin.html.erb

15 lines
451 B
Plaintext
Raw Normal View History

2024-05-26 09:34:09 +00:00
<% content_for :submenu do %>
<h2><%= t("administration") %>: <%= content_for :title %></h2>
<nav>
<ul>
2024-05-26 10:42:48 +00:00
<li><%= link_to t(".dashboard"), admin_index_path %></li>
<li><%= link_to t(".game_systems"), admin_game_systems_path %></li>
2024-05-30 07:28:37 +00:00
<% if Rails.env.production? %>
<li><%= link_to t(".jobs"), jobs_path, target: "_blank" %></li>
<% end %>
2024-05-26 09:34:09 +00:00
</ul>
</nav>
<% end %>
<%= render template: "layouts/application" %>