forked from shibao/cannery
add live dashboard icon
This commit is contained in:
parent
a6c4f80a91
commit
eefde769dd
@ -56,8 +56,9 @@
|
|||||||
|
|
||||||
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
|
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
|
||||||
<li>
|
<li>
|
||||||
<%= link "LiveDashboard", class: "hover:underline",
|
<%= link to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) do %>
|
||||||
to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %>
|
<i class="fas fa-tachometer-alt"></i>
|
||||||
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -17,13 +17,6 @@
|
|||||||
<i class="fas fa-sign-out-alt"></i>
|
<i class="fas fa-sign-out-alt"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
|
|
||||||
<li>
|
|
||||||
<%= link "LiveDashboard", class: "hover:underline",
|
|
||||||
to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %>
|
|
||||||
</li>
|
|
||||||
<% end %>
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<li>
|
<li>
|
||||||
<%= link "Register", class: "hover:underline",
|
<%= link "Register", class: "hover:underline",
|
||||||
|
Loading…
Reference in New Issue
Block a user