Commit 84eb8b6a authored by Klaus Stein's avatar Klaus Stein
Browse files

Improve login menu

parent 04ac087c
......@@ -64,6 +64,10 @@ header.page {
&.home {
align-self: center;
}
&.user {
margin-left: auto;
color: #edc;
}
}
a {
......
......@@ -26,9 +26,9 @@
</li>
<li class="user">
<% if current_user %>
<%= link_to current_user.username, user_path(current_user) %>
<% else %>
<%= link_to "Login", :login %>
<%= link_to current_user.username, user_path(current_user), class: 'navlink' %>
<% else %>
<%= link_to "Login", :login, class: 'navlink' %>
<% end %>
</li>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment