summaryrefslogtreecommitdiff
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
parent2f2d82e945cc151f71efe5e511eb95606b87911b (diff)
downloadgitlab-ce-56af5f5cf9b10246af62c4dc7064fffa516709db.tar.gz
Improve commits page UI
-rw-r--r--app/assets/stylesheets/sections/commits.scss2
-rw-r--r--app/views/projects/commits/_commit.html.haml6
2 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss
index 20e6011afb2..683aca73593 100644
--- a/app/assets/stylesheets/sections/commits.scss
+++ b/app/assets/stylesheets/sections/commits.scss
@@ -14,7 +14,7 @@
.lists-separator {
margin: 10px 0;
- border-top: 1px dashed #CCC;
+ border-color: #DDD;
}
.commits-row {
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)