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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
62d991c8
Commit
62d991c8
authored
Aug 11, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show latest pipeline status if what provided artifacts aren't latest
parent
d84aa560
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+4
-1
app/views/projects/buttons/_download.html.haml
app/views/projects/buttons/_download.html.haml
+4
-1
app/views/projects/repositories/_download_archive.html.haml
app/views/projects/repositories/_download_archive.html.haml
+4
-1
app/views/projects/tags/_download.html.haml
app/views/projects/tags/_download.html.haml
+4
-1
No files found.
app/views/projects/branches/_branch.html.haml
View file @
62d991c8
...
...
@@ -40,7 +40,10 @@
%ul
.dropdown-menu.dropdown-menu-align-right
{
role:
'menu'
}
%li
.dropdown-header
Artifacts
-
unless
pipeline
.
latest?
=
" (not latest, but
#{
link_to
(
pipeline
.
short_sha
,
namespace_project_pipeline_path
(
@project
.
namespace
,
@project
,
pipeline
))
}
)"
-
latest_pipeline
=
@project
.
pipeline_for
(
branch
.
name
)
%li
%span
=
latest_pipeline
.
status
.
humanize
%li
.dropdown-header
Previous Artifacts
-
artifacts
.
each
do
|
job
|
%li
=
link_to
search_namespace_project_artifacts_path
(
@project
.
namespace
,
@project
,
branch
.
name
,
'download'
,
job:
job
.
name
),
rel:
'nofollow'
do
...
...
app/views/projects/buttons/_download.html.haml
View file @
62d991c8
...
...
@@ -20,7 +20,10 @@
-
if
artifacts
.
any?
%li
.dropdown-header
Artifacts
-
unless
pipeline
.
latest?
=
" (not latest, but
#{
link_to
(
pipeline
.
short_sha
,
namespace_project_pipeline_path
(
@project
.
namespace
,
@project
,
pipeline
))
}
)"
-
latest_pipeline
=
@project
.
pipeline_for
(
@ref
)
%li
%span
=
latest_pipeline
.
status
.
humanize
%li
.dropdown-header
Previous Artifacts
-
artifacts
.
each
do
|
job
|
%li
=
link_to
search_namespace_project_artifacts_path
(
@project
.
namespace
,
@project
,
@ref
,
'download'
,
job:
job
.
name
),
rel:
'nofollow'
do
...
...
app/views/projects/repositories/_download_archive.html.haml
View file @
62d991c8
...
...
@@ -31,7 +31,10 @@
-
if
artifacts
.
any?
%li
.dropdown-header
Artifacts
-
unless
pipeline
.
latest?
=
" (not latest, but
#{
link_to
(
pipeline
.
short_sha
,
namespace_project_pipeline_path
(
@project
.
namespace
,
@project
,
pipeline
))
}
)"
-
latest_pipeline
=
@project
.
pipeline_for
(
ref
)
%li
%span
=
latest_pipeline
.
status
.
humanize
%li
.dropdown-header
Previous Artifacts
-
artifacts
.
each
do
|
job
|
%li
=
link_to
search_namespace_project_artifacts_path
(
@project
.
namespace
,
@project
,
ref
,
'download'
,
job:
job
.
name
),
rel:
'nofollow'
do
...
...
app/views/projects/tags/_download.html.haml
View file @
62d991c8
...
...
@@ -18,7 +18,10 @@
-
if
artifacts
.
any?
%li
.dropdown-header
Artifacts
-
unless
pipeline
.
latest?
=
" (not latest, but
#{
link_to
(
pipeline
.
short_sha
,
namespace_project_pipeline_path
(
project
.
namespace
,
project
,
pipeline
))
}
)"
-
latest_pipeline
=
@project
.
pipeline_for
(
ref
)
%li
%span
=
latest_pipeline
.
status
.
humanize
%li
.dropdown-header
Previous Artifacts
-
artifacts
.
each
do
|
job
|
%li
=
link_to
search_namespace_project_artifacts_path
(
project
.
namespace
,
project
,
ref
,
'download'
,
job:
job
.
name
),
rel:
'nofollow'
do
...
...
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