diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 14:23:34 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 17:32:24 -0400 |
commit | 2ad1334d9e0e143eb1cd1694433bfdf29314a65e (patch) | |
tree | 373c3802735fd40b95ee6674964d92f69280e218 /app | |
parent | 661d09a22b8a9a7fdead09fdb27284ff30cb0308 (diff) | |
download | gitlab-ce-2ad1334d9e0e143eb1cd1694433bfdf29314a65e.tar.gz |
Quotes, icon helper in profiles/accounts/show view
Diffstat (limited to 'app')
-rw-r--r-- | app/views/profiles/accounts/show.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml index 87f827793a6..6ac60b01f85 100644 --- a/app/views/profiles/accounts/show.html.haml +++ b/app/views/profiles/accounts/show.html.haml @@ -34,13 +34,13 @@ Two-factor Authentication enabled %div .pull-right - = link_to "Disable Two-factor Authentication", profile_two_factor_auth_path, method: :delete, class: 'btn btn-close btn-sm', + = link_to 'Disable Two-factor Authentication', profile_two_factor_auth_path, method: :delete, class: 'btn btn-close btn-sm', data: { confirm: 'Are you sure?' } %p If you lose your recovery codes you can %strong = succeed ',' do - = link_to "generate new ones", codes_profile_two_factor_auth_path, method: :post, data: { confirm: 'Are you sure?' } + = link_to 'generate new ones', codes_profile_two_factor_auth_path, method: :post, data: { confirm: 'Are you sure?' } invalidating all previous codes. - else @@ -52,7 +52,7 @@ Each time you log in you’ll be required to provide your username and password as usual, plus a randomly-generated code from your phone. %div - = link_to "Enable Two-factor Authentication", new_profile_two_factor_auth_path, class: 'btn btn-success' + = link_to 'Enable Two-factor Authentication', new_profile_two_factor_auth_path, class: 'btn btn-success' - if show_profile_social_tab? %fieldset @@ -65,7 +65,7 @@ class: "btn btn-lg #{'active' if oauth_active?(provider)}" - if oauth_active?(provider) = link_to unlink_profile_account_path(provider: provider), method: :delete, class: 'btn btn-lg' do - %i.fa.fa-close + = icon('close') - if show_profile_username_tab? %fieldset.update-username @@ -79,7 +79,7 @@ .loading-gif.hide %p - %i.fa.fa-spinner.fa-spin + = icon('spinner spin') Saving new username %p.light = user_url(@user) |