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
27dbcc30
Commit
27dbcc30
authored
Aug 08, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure all ee-specific project repository settings panels remain open after form submission
parent
81bdddc8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/mirrors/_mirror_repos.html.haml
app/views/projects/mirrors/_mirror_repos.html.haml
+1
-1
ee/app/controllers/ee/projects/mirrors_controller.rb
ee/app/controllers/ee/projects/mirrors_controller.rb
+1
-1
ee/app/controllers/projects/push_rules_controller.rb
ee/app/controllers/projects/push_rules_controller.rb
+1
-1
No files found.
app/views/projects/mirrors/_mirror_repos.html.haml
View file @
27dbcc30
-
expanded
=
Rails
.
env
.
test?
-
protocols
=
Gitlab
::
UrlSanitizer
::
ALLOWED_SCHEMES
.
join
(
'|'
)
%section
.settings.project-mirror-settings.js-mirror-settings.no-animate
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.project-mirror-settings.js-mirror-settings.no-animate
#js-mirror-settings
{
class:
(
'expanded'
if
expanded
)
}
.settings-header
%h4
=
_
(
'Mirroring repositories'
)
%button
.btn.js-settings-toggle
...
...
ee/app/controllers/ee/projects/mirrors_controller.rb
View file @
27dbcc30
...
...
@@ -59,7 +59,7 @@ module EE
flash
[
:notice
]
=
"The repository is being updated..."
end
redirect_to_repository_settings
(
project
)
redirect_to_repository_settings
(
project
,
anchor:
'js-mirror-settings'
)
end
def
mirror_params_attributes
...
...
ee/app/controllers/projects/push_rules_controller.rb
View file @
27dbcc30
...
...
@@ -19,7 +19,7 @@ class Projects::PushRulesController < Projects::ApplicationController
flash
[
:alert
]
=
@push_rule
.
errors
.
full_messages
.
join
(
', '
).
html_safe
end
redirect_to_repository_settings
(
@project
)
redirect_to_repository_settings
(
@project
,
anchor:
'js-push-rules'
)
end
private
...
...
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