Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Fontaine <afontaine@gitlab.com>2019-02-21 17:21:14 +0300
committerAndrew Fontaine <afontaine@gitlab.com>2019-02-21 17:34:42 +0300
commita0fbfb5a5343269849cbaaff8b62c0698b254bd6 (patch)
treec08cdc30b38242532a80e65fc87f11505fc6f916 /app/views/projects/issues
parent37b9173bd55ad9642df1e63075a078c282b31b28 (diff)
Add `.text-underline` Utility Class
Style status box links using bootstrap and other utility classes instead of styling all `a` tags in the status-box.
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r--app/views/projects/issues/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 728f43c1469..3a674da6e87 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -16,7 +16,7 @@
= sprite_icon('mobile-issue-close', size: 16, css_class: 'd-block d-sm-none')
.d-none.d-sm-block
- if @issue.moved?
- - moved_link_start = "<a href=\"#{issue_path(@issue.moved_to)}\">".html_safe
+ - moved_link_start = "<a href=\"#{issue_path(@issue.moved_to)}\" class=\"text-white text-underline\">".html_safe
- moved_link_end = '</a>'.html_safe
= s_('IssuableStatus|Closed (%{moved_link_start}moved%{moved_link_end})').html_safe % {moved_link_start: moved_link_start,
moved_link_end: moved_link_end}