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
Léo-Paul Géneau
gitlab-ce
Commits
53a6f0b1
Commit
53a6f0b1
authored
Dec 08, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix profile private token form actions
parent
86a09cfa
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 @
53a6f0b1
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
.form-actions
.form-actions
-
if
current_user
.
private_token
-
if
current_user
.
private_token
=
f
.
submit
'Reset private token'
,
data:
{
confirm:
"Are you sure?"
},
class:
"btn btn-default btn-build-token
"
=
f
.
submit
'Reset private token'
,
data:
{
confirm:
"Are you sure?"
},
class:
"btn btn-default
"
-
else
-
else
=
f
.
submit
'Generate'
,
class:
"btn btn-default btn-build-token
"
=
f
.
submit
'Generate'
,
class:
"btn btn-default
"
-
unless
current_user
.
ldap_user?
-
unless
current_user
.
ldap_user?
.panel.panel-default
.panel.panel-default
...
...
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