Commit a350fd7d authored by Martin Wortschack's avatar Martin Wortschack

Merge branch...

Merge branch '344396-make-badges-in-app-views-projects-pages_domains-_dns-html-haml-pajamas-compliant' into 'master'

Make badges in Pages DNS Pajamas-compliant

See merge request gitlab-org/gitlab!79858
parents 262fbf4a 034336c4
......@@ -42,8 +42,6 @@
}
:first-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
line-height: $gl-line-height;
}
......@@ -52,7 +50,6 @@
}
:last-child {
border-bottom-right-radius: $border-radius-default;
border-top-right-radius: $border-radius-default;
border-radius: $border-radius-default;
}
}
......@@ -20,10 +20,9 @@
= _("Verification status")
.col-sm-10
.status-badge
- text, status = domain_presenter.unverified? ? [_('Unverified'), 'badge-danger'] : [_('Verified'), 'badge-success']
.badge{ class: status }
= text
= link_to sprite_icon("redo"), verify_project_pages_domain_path(@project, domain_presenter), method: :post, class: "gl-button btn btn-default has-tooltip", title: _("Retry verification")
- text, status = domain_presenter.unverified? ? [_('Unverified'), :danger] : [_('Verified'), :success]
= gl_badge_tag text, variant: status
= link_to sprite_icon("redo"), verify_project_pages_domain_path(@project, domain_presenter), method: :post, class: "gl-ml-2 gl-button btn btn-default has-tooltip", title: _("Retry verification")
.input-group
= text_field_tag :domain_verification, verification_record, class: "monospace js-select-on-focus form-control", readonly: true
.input-group-append
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment