diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-04 14:51:26 -0400 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-06 06:12:35 +0100 |
commit | 70b8f421ae6587d2a57db40e7487bf2dd788cbde (patch) | |
tree | 5fbee71dc43e9f637c717a2852bd6310ce286acf /app/views/projects/commit/_commit_box.html.haml | |
parent | 4585f358b923bb9b4ab36a0c3e4682b060e088a7 (diff) | |
download | gitlab-ce-70b8f421ae6587d2a57db40e7487bf2dd788cbde.tar.gz |
Modifies commit branches section
- Display the default branch (if the limit is not exceeded)
- Requires '...' to be clicked before showing the rest of the branches and/or tags
- Fixes haml lints
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r-- | app/views/projects/commit/_commit_box.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index cd93886bb24..b1beb2ff368 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -61,7 +61,7 @@ %span.cgray= n_('parent', 'parents', @commit.parents.count) - @commit.parents.each do |parent| = link_to parent.short_id, project_commit_path(@project, parent), class: "commit-sha" - %div.commit-info.branches + .commit-info.branches %i.fa.fa-spinner.fa-spin - if @commit.last_pipeline |