summaryrefslogtreecommitdiff
path: root/app/views/shared/_issuable_meta_data.html.haml
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-09 16:50:40 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-09 16:50:40 -0500
commit9bcf8f43c6e50f4e00bda6fd693bd0bbd8a1fc4d (patch)
tree76790e8fb679e5c644af5fec698029f68fdd12ac /app/views/shared/_issuable_meta_data.html.haml
parent35991d16629559f2fd67be706fc80088dfb64638 (diff)
downloadgitlab-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.haml8
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