summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-27 11:44:28 +0100
committerPhil Hughes <me@iamphill.com>2016-05-27 11:51:32 +0100
commitd84992375c1b30c647212633874b1abff9d32e95 (patch)
tree1ba86ae563b1c22c3c73f102bea9cb2d2913a571
parent61072a02444092040fcabdc582f029670ccd4ae2 (diff)
downloadgitlab-ce-issuable-header-by-spacing.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
-rw-r--r--app/helpers/issuables_helper.rb2
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")