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
09f9e1a2
Commit
09f9e1a2
authored
Aug 16, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mirror repoistory section expansion
parent
27dbcc30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
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
No files found.
app/views/projects/mirrors/_mirror_repos.html.haml
View file @
09f9e1a2
-
expanded
=
Rails
.
env
.
test?
-
protocols
=
Gitlab
::
UrlSanitizer
::
ALLOWED_SCHEMES
.
join
(
'|'
)
%section
.settings.project-mirror-settings.js-mirror-settings.no-animate
#js-
mirror
-settings
{
class:
(
'expanded'
if
expanded
)
}
%section
.settings.project-mirror-settings.js-mirror-settings.no-animate
#js-
push-remote
-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 @
09f9e1a2
...
...
@@ -59,7 +59,7 @@ module EE
flash
[
:notice
]
=
"The repository is being updated..."
end
redirect_to_repository_settings
(
project
,
anchor:
'js-
mirror
-settings'
)
redirect_to_repository_settings
(
project
,
anchor:
'js-
push-remote
-settings'
)
end
def
mirror_params_attributes
...
...
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