summaryrefslogtreecommitdiff
path: root/app/views/projects/commits/_commit.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-19 22:42:54 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-19 22:42:54 -0800
commit56af5f5cf9b10246af62c4dc7064fffa516709db (patch)
tree15255901ee089ada0dc16f02150139849bfdc8ca /app/views/projects/commits/_commit.html.haml
parent2f2d82e945cc151f71efe5e511eb95606b87911b (diff)
downloadgitlab-ce-56af5f5cf9b10246af62c4dc7064fffa516709db.tar.gz
Improve commits page UI
Diffstat (limited to 'app/views/projects/commits/_commit.html.haml')
-rw-r--r--app/views/projects/commits/_commit.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml
index 64f528f482e..5774a48d7b8 100644
--- a/app/views/projects/commits/_commit.html.haml
+++ b/app/views/projects/commits/_commit.html.haml
@@ -5,7 +5,8 @@
- if commit.description?
%a.text-expander.js-toggle-button ...
- = link_to_browse_code(project, commit)
+ .pull-right
+ = link_to commit.short_id, project_commit_path(project, commit), class: "commit_short_id"
.notes_count
- if @note_counts
@@ -28,5 +29,4 @@
authored
.committed_ago
#{time_ago_with_tooltip(commit.committed_date)} &nbsp;
- .pull-right
- = link_to commit.short_id, project_commit_path(project, commit), class: "commit_short_id"
+ = link_to_browse_code(project, commit)