Commit 29c41e9a0e4407ecd009f4527c5a81c6275a8328
1 parent
6a445b42
Exists in
master
and in
4 other branches
pollishing UI
Showing
5 changed files
with
14 additions
and
7 deletions
Show diff stats
app/assets/stylesheets/common.scss
app/assets/stylesheets/tree.scss
| ... | ... | @@ -117,6 +117,7 @@ table.highlighttable .linenodiv pre { |
| 117 | 117 | cursor:pointer; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + | |
| 120 | 121 | .tree-item-file-name { |
| 121 | 122 | font-weight:bold; |
| 122 | 123 | a { |
| ... | ... | @@ -166,3 +167,9 @@ table.highlighttable .linenodiv pre { |
| 166 | 167 | @include shade; |
| 167 | 168 | margin-bottom:20px; |
| 168 | 169 | } |
| 170 | + | |
| 171 | +a.tree-commit-link { | |
| 172 | + &:hover { | |
| 173 | + text-decoration: underline; | |
| 174 | + } | |
| 175 | +} | ... | ... |
app/views/commits/_commit.html.haml
| 1 | 1 | %li.wll.commit |
| 2 | 2 | .right.span2 |
| 3 | - = link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "btn small right" | |
| 3 | + %p | |
| 4 | + %strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right" | |
| 4 | 5 | = link_to project_commit_path(@project, :id => commit.id) do |
| 5 | 6 | %p |
| 6 | 7 | %code.left= commit.id.to_s[0..10] |
| 7 | - %strong= commit.author_name | |
| 8 | + %strong.cgray= commit.author_name | |
| 8 | 9 | – |
| 9 | 10 | = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16 |
| 10 | - %span= truncate(commit.safe_message, :length => 50) rescue "--broken encoding" | |
| 11 | + %strong= truncate(commit.safe_message, :length => 50) rescue "--broken encoding" | |
| 11 | 12 | |
| 12 | 13 | %span.right.cgray |
| 13 | 14 | = time_ago_in_words(commit.committed_date) | ... | ... |
app/views/issues/_show.html.haml
app/views/merge_requests/_merge_request.html.haml
| ... | ... | @@ -11,5 +11,4 @@ |
| 11 | 11 | %span.label= merge_request.target_branch |
| 12 | 12 | = link_to project_merge_request_path(merge_request.project, merge_request) do |
| 13 | 13 | %p |
| 14 | - Merge Request ##{merge_request.id}: | |
| 15 | - = truncate(merge_request.title, :length => 50) | |
| 14 | + %strong= truncate(merge_request.title, :length => 60) | ... | ... |