diff options
author | Toon Claes <toon@gitlab.com> | 2017-04-06 21:47:14 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-04-06 21:51:45 +0200 |
commit | 3bfe3febef2903e27b06e319cbf259546cea7841 (patch) | |
tree | e741be9cd2dff650c55026e0b85dd184ea678a27 | |
parent | 00e00cacf8cb4ce3bfb733bae47e7e594e91e294 (diff) | |
download | gitlab-ce-3bfe3febef2903e27b06e319cbf259546cea7841.tar.gz |
Make MR link in build sidebar bold
It adds some consistency compared to the links in the header, which
are also bold.
-rw-r--r-- | app/views/projects/builds/_sidebar.html.haml | 3 | ||||
-rw-r--r-- | changelogs/unreleased/tc-job-page-mr-bold.yml | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml index f4a66398c85..694f524faed 100644 --- a/app/views/projects/builds/_sidebar.html.haml +++ b/app/views/projects/builds/_sidebar.html.haml @@ -48,7 +48,8 @@ - if @build.merge_request %p.build-detail-row %span.build-light-text Merge Request: - = link_to "#{@build.merge_request.to_reference}", merge_request_path(@build.merge_request) + = link_to merge_request_path(@build.merge_request) do + %strong= "#{@build.merge_request.to_reference}" - if @build.duration %p.build-detail-row %span.build-light-text Duration: diff --git a/changelogs/unreleased/tc-job-page-mr-bold.yml b/changelogs/unreleased/tc-job-page-mr-bold.yml new file mode 100644 index 00000000000..0243a259119 --- /dev/null +++ b/changelogs/unreleased/tc-job-page-mr-bold.yml @@ -0,0 +1,4 @@ +--- +title: Make MR link in build sidebar bold +merge_request: +author: |