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,6 +117,7 @@ table.highlighttable .linenodiv pre { | ||
| 117 | cursor:pointer; | 117 | cursor:pointer; |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | + | ||
| 120 | .tree-item-file-name { | 121 | .tree-item-file-name { |
| 121 | font-weight:bold; | 122 | font-weight:bold; |
| 122 | a { | 123 | a { |
| @@ -166,3 +167,9 @@ table.highlighttable .linenodiv pre { | @@ -166,3 +167,9 @@ table.highlighttable .linenodiv pre { | ||
| 166 | @include shade; | 167 | @include shade; |
| 167 | margin-bottom:20px; | 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 | %li.wll.commit | 1 | %li.wll.commit |
| 2 | .right.span2 | 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 | = link_to project_commit_path(@project, :id => commit.id) do | 5 | = link_to project_commit_path(@project, :id => commit.id) do |
| 5 | %p | 6 | %p |
| 6 | %code.left= commit.id.to_s[0..10] | 7 | %code.left= commit.id.to_s[0..10] |
| 7 | - %strong= commit.author_name | 8 | + %strong.cgray= commit.author_name |
| 8 | – | 9 | – |
| 9 | = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16 | 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 | %span.right.cgray | 13 | %span.right.cgray |
| 13 | = time_ago_in_words(commit.committed_date) | 14 | = time_ago_in_words(commit.committed_date) |
app/views/issues/_show.html.haml
| @@ -22,8 +22,7 @@ | @@ -22,8 +22,7 @@ | ||
| 22 | 22 | ||
| 23 | = link_to project_issue_path(issue.project, issue) do | 23 | = link_to project_issue_path(issue.project, issue) do |
| 24 | %p | 24 | %p |
| 25 | - Issue ##{issue.id}: | ||
| 26 | - = truncate(issue.title, :length => 50) | 25 | + %strong= truncate(issue.title, :length => 60) |
| 27 | 26 | ||
| 28 | 27 | ||
| 29 | 28 |
app/views/merge_requests/_merge_request.html.haml
| @@ -11,5 +11,4 @@ | @@ -11,5 +11,4 @@ | ||
| 11 | %span.label= merge_request.target_branch | 11 | %span.label= merge_request.target_branch |
| 12 | = link_to project_merge_request_path(merge_request.project, merge_request) do | 12 | = link_to project_merge_request_path(merge_request.project, merge_request) do |
| 13 | %p | 13 | %p |
| 14 | - Merge Request ##{merge_request.id}: | ||
| 15 | - = truncate(merge_request.title, :length => 50) | 14 | + %strong= truncate(merge_request.title, :length => 60) |