Move status icon out of build graph links
This commit is contained in:
parent
0693fee2b4
commit
19e58c9c92
2 changed files with 3 additions and 2 deletions
|
@ -36,6 +36,7 @@ v 8.12.0 (unreleased)
|
|||
- Capitalize mentioned issue timeline notes (ClemMakesApps)
|
||||
- Use the default branch for displaying the project icon instead of master !5792 (Hannes Rosenögger)
|
||||
- Adds response mime type to transaction metric action when it's not HTML
|
||||
- Fix hover leading space bug in pipeline graph !5980
|
||||
|
||||
v 8.11.3 (unreleased)
|
||||
- Allow system info page to handle case where info is unavailable
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
.curve
|
||||
.build-content
|
||||
- if is_playable
|
||||
= render_status_with_link('build', 'play')
|
||||
= link_to play_namespace_project_build_path(subject.project.namespace, subject.project, subject, return_to: request.original_url), method: :post, title: 'Play' do
|
||||
= render_status_with_link('build', 'play')
|
||||
= subject.name
|
||||
- elsif can?(current_user, :read_build, @project)
|
||||
= render_status_with_link('build', subject.status)
|
||||
= link_to namespace_project_build_path(subject.project.namespace, subject.project, subject) do
|
||||
= render_status_with_link('build', subject.status)
|
||||
= subject.name
|
||||
- else
|
||||
= render_status_with_link('build', subject.status)
|
||||
|
|
Loading…
Reference in a new issue