summaryrefslogtreecommitdiff
path: root/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
diff options
context:
space:
mode:
authorScott Hampton <shampton@gitlab.com>2019-04-25 11:49:13 -0700
committerScott Hampton <shampton@gitlab.com>2019-04-25 11:49:13 -0700
commitdbeb7b21d3db77482bb23cca08d44248b1e2c616 (patch)
treec4df8d099082828d481e1095fc62416bd6a57a62 /app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
parent66ff5f3dc6c19ea382192897395acfbd4adbd0c2 (diff)
downloadgitlab-ce-dbeb7b21d3db77482bb23cca08d44248b1e2c616.tar.gz
Updating class names, and using existing utility classes.
Diffstat (limited to 'app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml')
-rw-r--r--app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
index 7614d40ba1f..1118b44d7a2 100644
--- a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
+++ b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
@@ -5,11 +5,11 @@
- pipeline_link = local_assigns.fetch(:pipeline_link, false)
- stage = local_assigns.fetch(:stage, false)
-%tr.generic_commit_status{ class: ('retried' if retried) }
+%tr.generic-commit-status{ class: ('retried' if retried) }
%td.status
= render 'ci/status/badge', status: generic_commit_status.detailed_status(current_user)
- %td.generic_commit_status-link
+ %td.generic-commit-status-link
- if can?(current_user, :read_commit_status, generic_commit_status) && generic_commit_status.target_url
= link_to generic_commit_status.target_url do
%span.build-link ##{generic_commit_status.id}