mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
Style navbar toggle button Style navbar toggle manually instead of with button classes Style navbar Modify color Turn off all tooltips for touch devices Style main nav Fix scrolling navbar collapse Style tweaks Minor tweaks Style no ssh key message
15 lines
826 B
Plaintext
15 lines
826 B
Plaintext
- if cookies[:hide_no_ssh_message].blank? && current_user.require_ssh_key? && !current_user.hide_no_ssh_key
|
|
.no-ssh-key-message
|
|
.container
|
|
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile
|
|
.pull-right.hidden-xs
|
|
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'hide-no-ssh-message', remote: true
|
|
|
|
|
= link_to 'Remind later', '#', class: 'hide-no-ssh-message'
|
|
.links-xs.visible-xs
|
|
= link_to "Add key", new_profile_key_path
|
|
|
|
|
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'hide-no-ssh-message', remote: true
|
|
|
|
|
= link_to 'Later', '#', class: 'hide-no-ssh-message'
|