diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-19 22:42:54 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-19 22:42:54 -0800 |
commit | 56af5f5cf9b10246af62c4dc7064fffa516709db (patch) | |
tree | 15255901ee089ada0dc16f02150139849bfdc8ca | |
parent | 2f2d82e945cc151f71efe5e511eb95606b87911b (diff) | |
download | gitlab-ce-56af5f5cf9b10246af62c4dc7064fffa516709db.tar.gz |
Improve commits page UI
-rw-r--r-- | app/assets/stylesheets/sections/commits.scss | 2 | ||||
-rw-r--r-- | app/views/projects/commits/_commit.html.haml | 6 |
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)} - .pull-right - = link_to commit.short_id, project_commit_path(project, commit), class: "commit_short_id" + = link_to_browse_code(project, commit) |