19 lines
704 B
Elixir
19 lines
704 B
Elixir
<ul>
|
|
<li><%= link "Home", to: Routes.page_path(@conn, :index) %></li>
|
|
|
|
<%= if @current_user do %>
|
|
<li>Logged in as <%= @current_user.username %></li>
|
|
<li><%= link "Settings", to: Routes.user_settings_path(@conn, :edit) %></li>
|
|
<li><%= link "Billing", to: Routes.billing_path(@conn, :index) %></li>
|
|
<li><%= link "Log out", to: Routes.user_session_path(@conn, :delete), method: :delete %></li>
|
|
<% else %>
|
|
<li><%= link "Log in", to: Routes.user_session_path(@conn, :new) %></li>
|
|
<li><%= link "Register", to: Routes.user_registration_path(@conn, :new) %></li>
|
|
<% end %>
|
|
<hr />
|
|
<li>
|
|
<a href="https://recycled.cloud">
|
|
Back to recycled.cloud ↵
|
|
</a>
|
|
</ul>
|