Commit 4261acda90ff4c61326d80cba026ae76e8551f8f
1 parent
a69fc5dd
Exists in
master
and in
4 other branches
move SSH keys tab closer to begining
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
app/views/layouts/profile.html.haml
| @@ -12,16 +12,17 @@ | @@ -12,16 +12,17 @@ | ||
| 12 | %li{:class => tab_class(:password)} | 12 | %li{:class => tab_class(:password)} |
| 13 | = link_to "Password", profile_password_path | 13 | = link_to "Password", profile_password_path |
| 14 | 14 | ||
| 15 | + %li{:class => tab_class(:ssh_keys)} | ||
| 16 | + = link_to keys_path do | ||
| 17 | + SSH Keys | ||
| 18 | + %span.count= current_user.keys.count | ||
| 19 | + | ||
| 15 | %li{:class => tab_class(:token)} | 20 | %li{:class => tab_class(:token)} |
| 16 | = link_to "Token", profile_token_path | 21 | = link_to "Token", profile_token_path |
| 17 | 22 | ||
| 18 | %li{:class => tab_class(:design)} | 23 | %li{:class => tab_class(:design)} |
| 19 | = link_to "Design", profile_design_path | 24 | = link_to "Design", profile_design_path |
| 20 | 25 | ||
| 21 | - %li{:class => tab_class(:ssh_keys)} | ||
| 22 | - = link_to keys_path do | ||
| 23 | - SSH Keys | ||
| 24 | - %span.count= current_user.keys.count | ||
| 25 | 26 | ||
| 26 | .content | 27 | .content |
| 27 | = yield | 28 | = yield |