Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-12 18:27:16 +0300
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-16 23:13:16 +0300
commit4b15a8ed262147ba38fcd2cddfda02fb481c37d1 (patch)
tree6e0943a939da23b0702081e8a9819a21a6ccd5f8 /app/helpers/issuables_helper.rb
parent365f351a6c4679db8e7cda52c899d1ce14200097 (diff)
Fixed up based on feedback
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r--app/helpers/issuables_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index 94e1a4d2ec1..e1b5af242f2 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -57,9 +57,7 @@ module IssuablesHelper
def issuable_meta(issuable, project, text)
output = content_tag :strong, "#{text} #{issuable.to_reference}", class: "identifier"
- output << " opened "
- output << time_ago_with_tooltip(issuable.created_at)
- output << " by "
+ output << " opened #{time_ago_with_tooltip(issuable.created_at, skip_js: true)} 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")