diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-04-25 21:49:13 +0300 |
---|---|---|
committer | Scott Hampton <shampton@gitlab.com> | 2019-04-25 21:49:13 +0300 |
commit | dbeb7b21d3db77482bb23cca08d44248b1e2c616 (patch) | |
tree | c4df8d099082828d481e1095fc62416bd6a57a62 /app/views/projects/generic_commit_statuses | |
parent | 66ff5f3dc6c19ea382192897395acfbd4adbd0c2 (diff) |
Fix commits.scss style-lint errors
Updating class names, and using existing utility classes.
Diffstat (limited to 'app/views/projects/generic_commit_statuses')
-rw-r--r-- | app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml | 4 |
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} |