diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 16:50:40 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 16:50:40 -0500 |
commit | 9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d (patch) | |
tree | 76790e8fb679e5c644af5fec698029f68fdd12ac /app/views/shared/_issuable_meta_data.html.haml | |
parent | 35991d16629559f2fd67be706fc80088dfb64638 (diff) | |
download | gitlab-ce-9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d.tar.gz |
[skip ci] Replace hidden-xs
Diffstat (limited to 'app/views/shared/_issuable_meta_data.html.haml')
-rw-r--r-- | app/views/shared/_issuable_meta_data.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/_issuable_meta_data.html.haml b/app/views/shared/_issuable_meta_data.html.haml index 430d9a9dd76..6cc8c485666 100644 --- a/app/views/shared/_issuable_meta_data.html.haml +++ b/app/views/shared/_issuable_meta_data.html.haml @@ -5,21 +5,21 @@ - issuable_mr = @issuable_meta_data[issuable.id].merge_requests_count - if issuable_mr > 0 - %li.issuable-mr.hidden-xs.has-tooltip{ title: _('Related merge requests') } + %li.issuable-mr.d-none.d-sm-block.has-tooltip{ title: _('Related merge requests') } = image_tag('icon-merge-request-unmerged.svg', class: 'icon-merge-request-unmerged') = issuable_mr - if upvotes > 0 - %li.issuable-upvotes.hidden-xs.has-tooltip{ title: _('Upvotes') } + %li.issuable-upvotes.d-none.d-sm-block.has-tooltip{ title: _('Upvotes') } = icon('thumbs-up') = upvotes - if downvotes > 0 - %li.issuable-downvotes.hidden-xs.has-tooltip{ title: _('Downvotes') } + %li.issuable-downvotes.d-none.d-sm-block.has-tooltip{ title: _('Downvotes') } = icon('thumbs-down') = downvotes -%li.issuable-comments.hidden-xs +%li.issuable-comments.d-none.d-sm-block = link_to issuable_url, class: ['has-tooltip', ('no-comments' if note_count.zero?)], title: _('Comments') do = icon('comments') = note_count |