diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-27 11:44:28 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-27 11:51:32 +0100 |
commit | d84992375c1b30c647212633874b1abff9d32e95 (patch) | |
tree | 1ba86ae563b1c22c3c73f102bea9cb2d2913a571 /app/helpers | |
parent | 61072a02444092040fcabdc582f029670ccd4ae2 (diff) | |
download | gitlab-ce-d84992375c1b30c647212633874b1abff9d32e95.tar.gz |
Fixed issue with spacing in issuable headerissuable-header-by-spacing
The Ruby was returning the HTML without a spacing next to the word 'by'
Closes #17864
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issuables_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index a7a6657b948..fe84ee3de44 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -72,7 +72,7 @@ module IssuablesHelper def issuable_meta(issuable, project, text) output = content_tag :strong, "#{text} #{issuable.to_reference}", class: "identifier" - output << " opened #{time_ago_with_tooltip(issuable.created_at)} by".html_safe + output << " opened #{time_ago_with_tooltip(issuable.created_at)} by ".html_safe output << content_tag(:strong) do author_output = link_to_member(project, issuable.author, size: 24, mobile_classes: "hidden-xs") author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "hidden-sm hidden-md hidden-lg") |