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
1a41cb90
Commit
1a41cb90
authored
Jul 19, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix links and add not latest notice
parent
5fa6af05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
_download_archive.html.haml
app/views/projects/repositories/_download_archive.html.haml
+11
-7
No files found.
app/views/projects/repositories/_download_archive.html.haml
View file @
1a41cb90
...
...
@@ -25,10 +25,14 @@
=
link_to
archive_namespace_project_repository_path
(
@project
.
namespace
,
@project
,
ref:
ref
,
format:
'tar'
),
rel:
'nofollow'
do
%i
.fa.fa-download
%span
Download tar
-
artifacts
=
@project
.
latest_success_builds_for
(
@ref
)
-
if
artifacts
.
any?
%li
.dropdown-header
Artifacts
-
artifacts
.
each
do
|
job
|
%li
=
link_to
download_namespace_project_build_artifacts_path
(
@project
.
namespace
,
@project
,
job
),
rel:
'nofollow'
do
%span
Download '
#{
job
.
name
}
'
-
pipeline
=
@project
.
latest_success_pipeline_for
(
ref
).
first
-
if
pipeline
-
artifacts
=
pipeline
.
builds
.
latest_success_with_artifacts
-
if
artifacts
.
any?
%li
.dropdown-header
Artifacts
-
unless
pipeline
.
latest?
=
" (not latest, but
#{
link_to
(
pipeline
.
short_sha
,
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
pipeline
.
sha
))
}
)"
-
artifacts
.
each
do
|
job
|
%li
=
link_to
search_namespace_project_artifacts_path
(
@project
.
namespace
,
@project
,
ref
,
'download'
,
job:
job
.
name
),
rel:
'nofollow'
do
%span
Download '
#{
job
.
name
}
'
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