summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2018-08-17 17:54:40 +0200
committerMartin Wortschack <mwortschack@gitlab.com>2018-08-17 17:55:44 +0200
commit17697e90a2ae981fdc3829510186e429d30a7b22 (patch)
tree625be41df0f6f52a5dfe963bcca069fae2c2ba95 /app/helpers
parent46494f46a1345bafed1cde91ccfa4fb585a1782f (diff)
downloadgitlab-ce-17697e90a2ae981fdc3829510186e429d30a7b22.tar.gz
keeps margin for user status emojis consistent
- adds extra margin to the user-status-emoji - removes whitespaces from the issable_meta helper
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/issuables_helper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index c84ed8091c3..79449a30305 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -174,13 +174,12 @@ module IssuablesHelper
author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "d-block d-sm-none")
if status = user_status(issuable.author)
- author_output << "&ensp; #{status}".html_safe
+ author_output << "#{status}".html_safe
end
author_output
end
- output << "&ensp;".html_safe
output << content_tag(:span, (issuable_first_contribution_icon if issuable.first_contribution?), class: 'has-tooltip', title: _('1st contribution!'))
output << content_tag(:span, (issuable.task_status if issuable.tasks?), id: "task_status", class: "d-none d-sm-none d-md-inline-block")