summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-03-13 19:35:18 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-13 19:35:18 +0000
commit08f7e49d2980dcb23902cec3324a61dd8ba9c0e9 (patch)
treea7f023e704242bd944bc7d463562c5e77a4aa549 /app/views/projects
parentcc4ca1f3fe2e2f7470c4fae9a9c5676bbebb18b6 (diff)
parentc0242485393fe93397ee18889bc5345b67d5ea0d (diff)
downloadgitlab-ce-08f7e49d2980dcb23902cec3324a61dd8ba9c0e9.tar.gz
Merge branch '19742-permalink-blame-button-line-number-hash-links' into 'master'
Update permalink/blame buttons with line number fragment hash Closes #19742 See merge request !9461
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/blob/_actions.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_actions.html.haml b/app/views/projects/blob/_actions.html.haml
index c44d8fcd430..14d42f7d9ec 100644
--- a/app/views/projects/blob/_actions.html.haml
+++ b/app/views/projects/blob/_actions.html.haml
@@ -12,7 +12,7 @@
class: 'btn btn-sm'
- else
= link_to 'Blame', namespace_project_blame_path(@project.namespace, @project, @id),
- class: 'btn btn-sm' unless @blob.empty?
+ class: 'btn btn-sm js-blob-blame-link' unless @blob.empty?
= link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id),
class: 'btn btn-sm'
= link_to 'Permalink', namespace_project_blob_path(@project.namespace, @project,