BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8dc3dafe
Commit
8dc3dafe
authored
Feb 17, 2014
by
Cynddl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue with robots constantly asking for projects archives
parent
0744eac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
_download_archive.html.haml
app/views/projects/repositories/_download_archive.html.haml
+8
-7
No files found.
app/views/projects/repositories/_download_archive.html.haml
View file @
8dc3dafe
...
...
@@ -3,7 +3,7 @@
-
split_button
=
split_button
||
false
-
if
split_button
==
true
%span
.btn-group
{
class:
btn_class
}
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'zip'
),
class:
'btn'
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'zip'
),
class:
'btn'
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
Download zip
%a
.btn.dropdown-toggle
{
'data-toggle'
=>
'dropdown'
}
...
...
@@ -12,26 +12,26 @@
Select Archive Format
%ul
.dropdown-menu
{
role:
'menu'
}
%li
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'zip'
)
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'zip'
)
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
Download zip
%li
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar.gz'
)
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar.gz'
)
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
Download tar.gz
%li
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar.bz2'
)
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar.bz2'
)
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
Download tar.bz2
%li
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar'
)
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar'
)
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
Download tar
-
else
%span
.btn-group
{
class:
btn_class
}
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'zip'
),
class:
'btn'
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'zip'
),
class:
'btn'
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
zip
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar.gz'
),
class:
'btn'
do
=
link_to
archive_project_repository_path
(
@project
,
ref:
ref
,
format:
'tar.gz'
),
class:
'btn'
,
rel:
'nofollow'
do
%i
.icon-download-alt
%span
tar.gz
\ No newline at end of file
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