diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 22:33:27 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 22:33:27 +0300 |
commit | 21785171329ef0189a1c99d7b65b106b7bdda48c (patch) | |
tree | aba9d0d5af3b3d2bd229cecc6cfdd77bd61d8d36 /app/views/projects/pages | |
parent | b1c4fdecfceaac6509a817325822aa1e04f59046 (diff) |
[skip ci] Convert .label. to .badge.
Diffstat (limited to 'app/views/projects/pages')
-rw-r--r-- | app/views/projects/pages/_list.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pages/_list.html.haml b/app/views/projects/pages/_list.html.haml index 7c9a77b2aaf..19142a625fd 100644 --- a/app/views/projects/pages/_list.html.haml +++ b/app/views/projects/pages/_list.html.haml @@ -17,9 +17,9 @@ = icon('external-link') - if domain.subject %p - %span.label.label-gray Certificate: #{domain.subject} + %span.badge.label-gray Certificate: #{domain.subject} - if domain.expired? - %span.label.label-danger Expired + %span.badge.label-danger Expired %div = link_to 'Details', project_pages_domain_path(@project, domain), class: "btn btn-sm btn-grouped" = link_to 'Remove', project_pages_domain_path(@project, domain), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove btn-sm btn-grouped" |