diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 21:11:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 21:11:05 +0300 |
commit | bbc241ab7fff1f6854a70eb56ee70b0dad2b6144 (patch) | |
tree | 2f3bb5bafed00cdc9a11ea9b5233b7dd6fded70b /app/views/snippets | |
parent | 714e16b260e01dd316574ab7baf0a73f61547d80 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index 583f25b68eb..fe05a3de13a 100644 --- a/app/views/snippets/show.html.haml +++ b/app/views/snippets/show.html.haml @@ -5,7 +5,7 @@ - else - add_page_startup_graphql_call('snippet/user_permissions') - if @snippet.author != current_user - -# Different breadcrumbs if this page is rendered as part of the Explore section + -# If current user is not the snippet author, then it renders with the Explore layout which doesn't have this breadcrumb. - add_to_breadcrumbs _("Snippets"), explore_snippets_path - breadcrumb_title @snippet.to_reference - page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets") |