summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authordimitrieh <dimitriehoekstra@gmail.com>2017-01-25 21:48:04 +0100
committerdimitrieh <dimitriehoekstra@gmail.com>2017-01-25 21:48:04 +0100
commit0ded38cc6a694f250bc4075ef112f063934fbcd2 (patch)
tree50a60120cedab342c37df7b39579ceacf6eba607 /app/views
parent55d28e56846b5c68fa4a2df23c3d6cbf0f320620 (diff)
downloadgitlab-ce-0ded38cc6a694f250bc4075ef112f063934fbcd2.tar.gz
fixed points from comments to improve code quality
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/tree/_tree_content.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml
index e06538cf078..6855c463c6d 100644
--- a/app/views/projects/tree/_tree_content.html.haml
+++ b/app/views/projects/tree/_tree_content.html.haml
@@ -7,15 +7,12 @@
%th.hidden-xs
.pull-left Last commit
.last-commit.hidden-sm.pull-left
- &nbsp;
%i.fa.fa-angle-right
- &nbsp;
%small.light
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
= clipboard_button(clipboard_text: @commit.id, title: "Copy commit SHA to clipboard")
= time_ago_with_tooltip(@commit.committed_date)
- :plain
- -
+ \-
= @commit.full_title
%small.commit-history-link-spacer &#124;
= link_to 'History', namespace_project_commits_path(@project.namespace, @project, @id), class: 'commit-history-link'