mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
Simplify navbar html
This commit is contained in:
parent
6e084d5e80
commit
4bac2ad54f
1 changed files with 2 additions and 4 deletions
|
|
@ -8,10 +8,8 @@
|
|||
<% if current_user %>
|
||||
<%= render "shared/user_mention", user: current_user %>
|
||||
<% if current_user.active_project %>
|
||||
<div class="project-info">
|
||||
<div>Currently working on: <%= current_user.active_project %></div>
|
||||
<div>Duration: <%= current_user.active_project_duration %></div>
|
||||
</div>
|
||||
<p>Currently working on: <%= current_user.active_project %></p>
|
||||
<p>Duration: <%= current_user.active_project_duration %></p>
|
||||
<% end %>
|
||||
<%= link_to "Logout", signout_path, data: { turbo_method: :delete } %>
|
||||
<% else %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue