Commit 29c41e9a0e4407ecd009f4527c5a81c6275a8328

Authored by Dmitriy Zaporozhets
1 parent 6a445b42

pollishing UI

app/assets/stylesheets/common.scss
... ... @@ -338,6 +338,7 @@ img.lil_av {
338 338  
339 339 .borders {
340 340 border: 1px solid #ccc;
  341 + @include shade;
341 342 }
342 343  
343 344 .well.padded {
... ...
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
... ... @@ -22,8 +22,7 @@
22 22  
23 23 = link_to project_issue_path(issue.project, issue) do
24 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 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)
... ...