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
Kazuhiko Shiozaki
gitlab-ce
Commits
5fc90eec
Commit
5fc90eec
authored
9 years ago
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to correct (source) project on MR builds tab
parent
d60047bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/commit_statuses/_commit_status.html.haml
app/views/projects/commit_statuses/_commit_status.html.haml
+4
-4
No files found.
app/views/projects/commit_statuses/_commit_status.html.haml
View file @
5fc90eec
...
@@ -19,11 +19,11 @@
...
@@ -19,11 +19,11 @@
-
if
defined?
(
commit_sha
)
&&
commit_sha
-
if
defined?
(
commit_sha
)
&&
commit_sha
%td
%td
=
link_to
commit_status
.
short_sha
,
namespace_project_commit_path
(
@project
.
namespace
,
@
project
,
commit_status
.
sha
),
class:
"monospace"
=
link_to
commit_status
.
short_sha
,
namespace_project_commit_path
(
commit_status
.
project
.
namespace
,
commit_status
.
project
,
commit_status
.
sha
),
class:
"monospace"
%td
%td
-
if
commit_status
.
ref
-
if
commit_status
.
ref
=
link_to
commit_status
.
ref
,
namespace_project_commits_path
(
@project
.
namespace
,
@
project
,
commit_status
.
ref
)
=
link_to
commit_status
.
ref
,
namespace_project_commits_path
(
commit_status
.
project
.
namespace
,
commit_status
.
project
,
commit_status
.
ref
)
-
else
-
else
.light
none
.light
none
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
%td
%td
.pull-right
.pull-right
-
if
current_user
&&
can?
(
current_user
,
:download_build_artifacts
,
@
project
)
&&
commit_status
.
download_url
-
if
current_user
&&
can?
(
current_user
,
:download_build_artifacts
,
commit_status
.
project
)
&&
commit_status
.
download_url
=
link_to
commit_status
.
download_url
,
title:
'Download artifacts'
do
=
link_to
commit_status
.
download_url
,
title:
'Download artifacts'
do
%i
.fa.fa-download
%i
.fa.fa-download
-
if
current_user
&&
can?
(
current_user
,
:manage_builds
,
commit_status
.
project
)
-
if
current_user
&&
can?
(
current_user
,
:manage_builds
,
commit_status
.
project
)
...
...
This diff is collapsed.
Click to expand it.
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