diff options
author | victorwu <victor@gitlab.com> | 2016-12-09 15:48:23 -0600 |
---|---|---|
committer | victorwu <victor@gitlab.com> | 2016-12-12 13:16:52 -0600 |
commit | 569645a809d042fb7a69d5c95ad65fe6983c2f75 (patch) | |
tree | 50795ba8ff5b12594ca7f64f3f128b1bbc73d345 /app/views/projects/tree | |
parent | b544ec8670f8a14d205fa0b13e8ca37fad795686 (diff) | |
download | gitlab-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.haml | 6 |
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 - - %i.fa.fa-angle-right - %small.light + = clipboard_button(clipboard_text: @commit.id) = link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace" - – = time_ago_with_tooltip(@commit.committed_date) = @commit.full_title %small.commit-history-link-spacer | |