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
dc8d1cd8
Commit
dc8d1cd8
authored
May 01, 2019
by
Francisco Javier López
Committed by
Sean McGivern
May 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor mirror instructions view
parent
e6767f59
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/helpers/mirror_helper.rb
app/helpers/mirror_helper.rb
+4
-0
app/views/projects/mirrors/_instructions.html.haml
app/views/projects/mirrors/_instructions.html.haml
+1
-1
No files found.
app/helpers/mirror_helper.rb
View file @
dc8d1cd8
...
...
@@ -7,4 +7,8 @@ module MirrorHelper
project_mirror_endpoint:
project_mirror_path
(
@project
,
:json
)
}
end
def
mirror_lfs_sync_message
_
(
'The Git LFS objects will <strong>not</strong> be synced.'
).
html_safe
end
end
app/views/projects/mirrors/_instructions.html.haml
View file @
dc8d1cd8
...
...
@@ -7,7 +7,7 @@
%li
-
minutes
=
Gitlab
.
config
.
gitlab_shell
.
git_timeout
/
60
=
_
(
"The update action will time out after %{number_of_minutes} minutes. For big repositories, use a clone/push combination."
)
%
{
number_of_minutes:
minutes
}
%li
=
_
(
'The Git LFS objects will <strong>not</strong> be synced.'
).
html_saf
e
%li
=
mirror_lfs_sync_messag
e
%li
=
_
(
'
This
user
will
be
the
author
of
all
events
in
the
activity
feed
that
are
the
result
of
an
update
,
like
new
branches
being
created
or
new
commits
being
pushed
to
existing
branches
.
'
)
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