Skip to content
This repository was archived by the owner on Mar 20, 2019. It is now read-only.

Commit 097c845

Browse files
committed
Arrange top menu
1 parent 1745905 commit 097c845

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

app/views/application/_navigation.slim

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,20 @@ header#masthead
1010
li
1111
i.fa.fa-graduation-cap
1212
= link_to(t('protips'), root_path)
13-
-if signed_in?
14-
li
15-
i.fa.fa-user
16-
= link_to('Profile', badge_path(username: current_user.username), class: mywall_nav_class)
17-
1813
li
1914
i.fa.fa-money
2015
= link_to('Jobs', jobs_path, class: jobs_nav_class)
2116
-if signed_in?
17+
li
18+
i.fa.fa-user
19+
= link_to('Profile', badge_path(username: current_user.username), class: mywall_nav_class)
2220
li
2321
i.fa.fa-cogs
2422
= link_to('Settings', settings_path, class: settings_nav_class)
2523
li
2624
i.fa.fa-sign-out
2725
= link_to('Sign out', sign_out_path)
2826
-else
29-
3027
li
3128
i.fa.fa-sign-in
3229
= link_to('Sign In', signin_path, class: signin_nav_class)

0 commit comments

Comments
 (0)