Commit 02e827283d905477e816fbb940d8a4489df94826
1 parent
faf7c79e
Exists in
master
and in
4 other branches
increased breadcrumbs with & commit messages
Showing
4 changed files
with
9 additions
and
5 deletions
Show diff stats
app/assets/stylesheets/projects.css.scss
| @@ -358,8 +358,12 @@ body.project-page table .commit { | @@ -358,8 +358,12 @@ body.project-page table .commit { | ||
| 358 | color:white; | 358 | color:white; |
| 359 | } | 359 | } |
| 360 | &.note { | 360 | &.note { |
| 361 | - background: #2c5c66; | ||
| 362 | - color:white; | 361 | + background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8)); |
| 362 | + background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8); | ||
| 363 | + background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8); | ||
| 364 | + background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8); | ||
| 365 | + color: #777; | ||
| 366 | + border: 1px solid #DEDFE1; | ||
| 363 | } | 367 | } |
| 364 | &.issue { | 368 | &.issue { |
| 365 | background: #D12F19; | 369 | background: #D12F19; |
app/views/commits/_commits.html.haml
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | = image_tag "no_avatar.png", :class => "left", :width => 40, :style => "padding-right:5px;" | 17 | = image_tag "no_avatar.png", :class => "left", :width => 40, :style => "padding-right:5px;" |
| 18 | %span.commit-title | 18 | %span.commit-title |
| 19 | %strong | 19 | %strong |
| 20 | - = truncate(commit.safe_message, :length => 60) | 20 | + = truncate(commit.safe_message, :length => 70) |
| 21 | %span.commit-author | 21 | %span.commit-author |
| 22 | %strong= commit.author_name | 22 | %strong= commit.author_name |
| 23 | = time_ago_in_words(commit.committed_date) | 23 | = time_ago_in_words(commit.committed_date) |
app/views/issues/_show.html.haml
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | %td | 2 | %td |
| 3 | %strong.issue-number{:class => sort_class}= "##{issue.id}" | 3 | %strong.issue-number{:class => sort_class}= "##{issue.id}" |
| 4 | %span | 4 | %span |
| 5 | - = truncate(html_escape(issue.title), :length => 40) | 5 | + = truncate(html_escape(issue.title), :length => 100) |
| 6 | %br | 6 | %br |
| 7 | %br | 7 | %br |
| 8 | %div.note-author | 8 | %div.note-author |
app/views/refs/_tree.html.haml
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | %d | 4 | %d |
| 5 | = link_to tree_project_ref_path(@project, @ref, :path => nil), :remote => true do | 5 | = link_to tree_project_ref_path(@project, @ref, :path => nil), :remote => true do |
| 6 | = @project.code | 6 | = @project.code |
| 7 | - - tree.breadcrumbs(2) do |link| | 7 | + - tree.breadcrumbs(3) do |link| |
| 8 | \/ | 8 | \/ |
| 9 | = link | 9 | = link |
| 10 | | 10 | |