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>2017-09-06 14:19:03 +0300
committerPhil Hughes <me@iamphill.com>2017-09-06 14:19:03 +0300
commit80a013ef4f1c6dc982023dc39c27063ab1d3e121 (patch)
treef23cd0ea6e45bdfb7db2711e883119fa30a48ac0 /app/helpers/issuables_helper.rb
parent2aa8a75f69e338a94cca52a43058d156c0e3a1a1 (diff)
removed show_new_nav? references
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r--app/helpers/issuables_helper.rb15
1 files changed, 1 insertions, 14 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index e39d62ecf63..2cf2e7dddb0 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -127,20 +127,7 @@ module IssuablesHelper
def issuable_meta(issuable, project, text)
output = ""
-
- unless show_new_nav?
- output << content_tag(:strong, class: "identifier") do
- concat("#{text} ")
- concat(to_url_reference(issuable))
- end
- end
-
- opened_text = if show_new_nav?
- "Opened"
- else
- " opened"
- end
- output << "#{opened_text} #{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", tooltip: true)
author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "hidden-sm hidden-md hidden-lg")