Merge branch 'issuable-header-by-spacing' into 'master'

Fixed issue with spacing in issuable header

## What does this MR do?

Fixes an issue with spacing next to the word 'by' in the issuable header

## What are the relevant issue numbers?

Closes #17864 

## Screenshots (if relevant)

![Screen_Shot_2016-05-27_at_11.53.37](/uploads/464c2149df304109726b7d7ab855ebe1/Screen_Shot_2016-05-27_at_11.53.37.png)

See merge request !4314
This commit is contained in:
Jacob Schatz
2016-05-27 12:18:14 +00:00
+1 -1
View File
@@ -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")