summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-06 12:19:03 +0100
committerPhil Hughes <me@iamphill.com>2017-09-06 12:19:03 +0100
commit80a013ef4f1c6dc982023dc39c27063ab1d3e121 (patch)
treef23cd0ea6e45bdfb7db2711e883119fa30a48ac0 /app/views/shared/snippets
parent2aa8a75f69e338a94cca52a43058d156c0e3a1a1 (diff)
downloadgitlab-ce-breadcrumbs-improvements.tar.gz
removed show_new_nav? referencesbreadcrumbs-improvements
Diffstat (limited to 'app/views/shared/snippets')
-rw-r--r--app/views/shared/snippets/_header.html.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml
index 03bc0b25055..119d189f21d 100644
--- a/app/views/shared/snippets/_header.html.haml
+++ b/app/views/shared/snippets/_header.html.haml
@@ -3,14 +3,8 @@
%span.sr-only
= visibility_level_label(@snippet.visibility_level)
= visibility_level_icon(@snippet.visibility_level, fw: false)
- - unless show_new_nav?
- %strong.item-title
- Snippet #{@snippet.to_reference}
%span.creator
- - if show_new_nav?
- Authored
- - else
- authored
+ Authored
= time_ago_with_tooltip(@snippet.created_at, placement: 'bottom', html_class: 'snippet_updated_ago')
by #{link_to_member(@project, @snippet.author, size: 24, author_class: "author item-title", avatar_class: "hidden-xs")}