diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-08-01 08:50:59 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-01 08:50:59 +0000 |
commit | 423d31a300370c9c0acd9e8faae4d7bda2ac7d61 (patch) | |
tree | 733b732407f6f682edd875e3915af5e638cfce7d /app/views/projects/commit/_commit_box.html.haml | |
parent | 5000c4ff4a04007b09bacbc5b5889d1ae3de4e59 (diff) | |
download | gitlab-ce-423d31a300370c9c0acd9e8faae4d7bda2ac7d61.tar.gz |
Inline script cleanup globals and easy
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r-- | app/views/projects/commit/_commit_box.html.haml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index 419fbe99af8..09bcd187e59 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -1,4 +1,4 @@ -.page-content-header +.page-content-header.js-commit-box{ 'data-commit-path' => branches_project_commit_path(@project, @commit.id) } .header-main-content = render partial: 'signature', object: @commit.signature %strong @@ -79,6 +79,3 @@ = render 'shared/mini_pipeline_graph', pipeline: last_pipeline, klass: 'js-commit-pipeline-graph' in = time_interval_in_words last_pipeline.duration - -:javascript - $(".commit-info.branches").load("#{branches_project_commit_path(@project, @commit.id)}"); |