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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7d79b5cc
Commit
7d79b5cc
authored
Feb 15, 2018
by
Jacopo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes Renaming repository (project[name]) fails on 2nd try whend the validation has failed
parent
02d9f54f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+1
-1
app/views/projects/update.js.haml
app/views/projects/update.js.haml
+1
-1
changelogs/unreleased/43201-rename-repository-submit-button-disabled.yml
...leased/43201-rename-repository-submit-button-disabled.yml
+5
-0
No files found.
app/views/projects/edit.html.haml
View file @
7d79b5cc
...
...
@@ -58,7 +58,7 @@
-
if
@project
.
avatar?
%hr
=
link_to
_
(
'Remove avatar'
),
project_avatar_path
(
@project
),
data:
{
confirm:
_
(
"Avatar will be removed. Are you sure?"
)
},
method: :delete
,
class:
"btn btn-danger btn-inverted"
=
f
.
submit
'Save changes'
,
class:
"btn btn-success"
=
f
.
submit
'Save changes'
,
class:
"btn btn-success
js-btn-save-general-project-settings
"
%section
.settings.sharing-permissions.no-animate
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
...
...
app/views/projects/update.js.haml
View file @
7d79b5cc
...
...
@@ -6,4 +6,4 @@
$(".project-edit-errors").html("
#{
escape_javascript
(
render
(
'errors'
))
}
");
$('.save-project-loader').hide();
$('.project-edit-container').show();
$('.edit-project .
btn-save
').enable();
$('.edit-project .
js-btn-save-general-project-settings
').enable();
changelogs/unreleased/43201-rename-repository-submit-button-disabled.yml
0 → 100644
View file @
7d79b5cc
---
title
:
Allows project rename after validation error
merge_request
:
17150
author
:
type
:
fixed
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