summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-01-04 16:51:19 +0100
committerTim Zallmann <tzallmann@gitlab.com>2019-01-04 16:51:19 +0100
commitde9713ed875057941006433dc265533fc56415b8 (patch)
treeab5be87e5492754b30b564adc75412e899aadfa1 /app/views/shared/snippets
parent1484a7eb7d4f943cd770ad2988b5e73fdc665860 (diff)
downloadgitlab-ce-de9713ed875057941006433dc265533fc56415b8.tar.gz
Show User Popovers on Snippets Page
Diffstat (limited to 'app/views/shared/snippets')
-rw-r--r--app/views/shared/snippets/_snippet.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/snippets/_snippet.html.haml b/app/views/shared/snippets/_snippet.html.haml
index 5069e2e4ca6..42af97bc6af 100644
--- a/app/views/shared/snippets/_snippet.html.haml
+++ b/app/views/shared/snippets/_snippet.html.haml
@@ -25,7 +25,7 @@
#{snippet.to_reference} &middot;
authored #{time_ago_with_tooltip(snippet.created_at, placement: 'bottom', html_class: 'snippet-created-ago')}
by
- = link_to user_snippets_path(snippet.author) do
+ = link_to user_snippets_path(snippet.author), class: "js-user-link", data: { user_id: snippet.author.id } do
= snippet.author_name
- if link_project && snippet.project_id?
%span.d-none.d-sm-inline-block