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
f09e1599
Commit
f09e1599
authored
Dec 18, 2011
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix show token in profile
parent
10df55e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
app/views/profile/password.html.haml
app/views/profile/password.html.haml
+12
-5
No files found.
app/views/profile/password.html.haml
View file @
f09e1599
...
@@ -25,9 +25,16 @@
...
@@ -25,9 +25,16 @@
=
form_for
@user
,
:url
=>
profile_reset_private_token_path
,
:method
=>
:put
do
|
f
|
=
form_for
@user
,
:url
=>
profile_reset_private_token_path
,
:method
=>
:put
do
|
f
|
%p
%p
Current private token:
Current private token:
-
if
current_user
.
private_token
%strong
%strong
=
current_user
.
private_token
=
current_user
.
private_token
%em
.cred
%em
.cred
keep it in secret!
keep it in secret!
-
else
%strong
don`t have
.actions
.actions
-
if
current_user
.
private_token
=
f
.
submit
'Reset'
,
:confirm
=>
"Are you sure?"
,
:class
=>
"grey-button"
=
f
.
submit
'Reset'
,
:confirm
=>
"Are you sure?"
,
:class
=>
"grey-button"
-
else
=
f
.
submit
'Generate'
,
:class
=>
"grey-button"
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