diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2018-08-17 17:54:40 +0200 |
---|---|---|
committer | Martin Wortschack <mwortschack@gitlab.com> | 2018-08-17 17:55:44 +0200 |
commit | 17697e90a2ae981fdc3829510186e429d30a7b22 (patch) | |
tree | 625be41df0f6f52a5dfe963bcca069fae2c2ba95 /app/helpers | |
parent | 46494f46a1345bafed1cde91ccfa4fb585a1782f (diff) | |
download | gitlab-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.rb | 3 |
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 << "  #{status}".html_safe + author_output << "#{status}".html_safe end author_output end - output << " ".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") |