increased breadcrumbs with & commit messages

This commit is contained in:
Dmitriy Zaporozhets 2011-12-12 22:12:37 +02:00 committed by Jeremy Mack
parent 5f580ab09c
commit d5c6f27020
4 changed files with 9 additions and 5 deletions

View file

@ -358,8 +358,12 @@ body.project-page table .commit {
color:white; color:white;
} }
&.note { &.note {
background: #2c5c66; background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
color:white; background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
color: #777;
border: 1px solid #DEDFE1;
} }
&.issue { &.issue {
background: #D12F19; background: #D12F19;

View file

@ -17,7 +17,7 @@
= image_tag "no_avatar.png", :class => "left", :width => 40, :style => "padding-right:5px;" = image_tag "no_avatar.png", :class => "left", :width => 40, :style => "padding-right:5px;"
%span.commit-title %span.commit-title
%strong %strong
= truncate(commit.safe_message, :length => 60) = truncate(commit.safe_message, :length => 70)
%span.commit-author %span.commit-author
%strong= commit.author_name %strong= commit.author_name
= time_ago_in_words(commit.committed_date) = time_ago_in_words(commit.committed_date)

View file

@ -2,7 +2,7 @@
%td %td
%strong.issue-number{:class => sort_class}= "##{issue.id}" %strong.issue-number{:class => sort_class}= "##{issue.id}"
%span %span
= truncate(html_escape(issue.title), :length => 40) = truncate(html_escape(issue.title), :length => 100)
%br %br
%br %br
%div.note-author %div.note-author

View file

@ -4,7 +4,7 @@
%d %d
= link_to tree_project_ref_path(@project, @ref, :path => nil), :remote => true do = link_to tree_project_ref_path(@project, @ref, :path => nil), :remote => true do
= @project.code = @project.code
- tree.breadcrumbs(2) do |link| - tree.breadcrumbs(3) do |link|
\/ \/
= link = link