summaryrefslogtreecommitdiff
path: root/app/views/projects/tree
diff options
context:
space:
mode:
authorvictorwu <victor@gitlab.com>2016-12-09 15:48:23 -0600
committervictorwu <victor@gitlab.com>2016-12-12 13:16:52 -0600
commit569645a809d042fb7a69d5c95ad65fe6983c2f75 (patch)
tree50795ba8ff5b12594ca7f64f3f128b1bbc73d345 /app/views/projects/tree
parentb544ec8670f8a14d205fa0b13e8ca37fad795686 (diff)
downloadgitlab-ce-569645a809d042fb7a69d5c95ad65fe6983c2f75.tar.gz
Clean up commit copy to clipboard and make consistent
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_tree_content.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml
index 21e378b8735..dc7b4bab208 100644
--- a/app/views/projects/tree/_tree_content.html.haml
+++ b/app/views/projects/tree/_tree_content.html.haml
@@ -5,14 +5,10 @@
%tr
%th Name
%th.hidden-xs
- .pull-left Last Commit
.last-commit.hidden-sm.pull-left
- &nbsp;
- %i.fa.fa-angle-right
- &nbsp;
%small.light
+ = clipboard_button(clipboard_text: @commit.id)
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
- &ndash;
= time_ago_with_tooltip(@commit.committed_date)
= @commit.full_title
%small.commit-history-link-spacer &#124;