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
96efdfad
Commit
96efdfad
authored
Feb 17, 2014
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6341 from Cynddl/feature/nofollow
Fix issue with robots constantly asking for projects archives
parents
64dbcfe2
8dc3dafe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
app/views/projects/repositories/_download_archive.html.haml
app/views/projects/repositories/_download_archive.html.haml
+7
-7
No files found.
app/views/projects/repositories/_download_archive.html.haml
View file @
96efdfad
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
-
split_button
=
split_button
||
false
-
split_button
=
split_button
||
false
-
if
split_button
==
true
-
if
split_button
==
true
%span
.btn-group
{
class:
btn_class
}
%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
%i
.icon-download-alt
%span
Download zip
%span
Download zip
%a
.btn.dropdown-toggle
{
'data-toggle'
=>
'dropdown'
}
%a
.btn.dropdown-toggle
{
'data-toggle'
=>
'dropdown'
}
...
@@ -12,26 +12,26 @@
...
@@ -12,26 +12,26 @@
Select Archive Format
Select Archive Format
%ul
.dropdown-menu
{
role:
'menu'
}
%ul
.dropdown-menu
{
role:
'menu'
}
%li
%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
%i
.icon-download-alt
%span
Download zip
%span
Download zip
%li
%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
%i
.icon-download-alt
%span
Download tar.gz
%span
Download tar.gz
%li
%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
%i
.icon-download-alt
%span
Download tar.bz2
%span
Download tar.bz2
%li
%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
%i
.icon-download-alt
%span
Download tar
%span
Download tar
-
else
-
else
%span
.btn-group
{
class:
btn_class
}
%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
%i
.icon-download-alt
%span
zip
%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
%i
.icon-download-alt
%span
tar.gz
%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