Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
2ad1334d
Commit
2ad1334d
authored
May 09, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quotes, icon helper in profiles/accounts/show view
parent
661d09a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/views/profiles/accounts/show.html.haml
app/views/profiles/accounts/show.html.haml
+5
-5
No files found.
app/views/profiles/accounts/show.html.haml
View file @
2ad1334d
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment