styled title block for mr, issue, commit

This commit is contained in:
Dmitriy Zaporozhets 2012-03-16 21:11:03 +03:00
parent 2ec12c9bb8
commit 341b4414ea
4 changed files with 12 additions and 5 deletions

View file

@ -57,6 +57,13 @@ a:focus {
color: #777; color: #777;
border: 1px solid #DEDFE1; border: 1px solid #DEDFE1;
&.branch {
border:none;
font-size:13px;
background: #474D57;
color:#fff;
font-family: monospace;
}
} }
.tabs > li > a, .pills > li > a { .tabs > li > a, .pills > li > a {

View file

@ -13,7 +13,7 @@
%small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm") %small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm")
%br %br
%pre.commit_message %pre.commit_message.prettyprint
= commit_msg_with_link_to_issues(@project, @commit.safe_message) = commit_msg_with_link_to_issues(@project, @commit.safe_message)
.clear .clear
%br %br

View file

@ -31,7 +31,7 @@
.alert-message.success Open .alert-message.success Open
%div.well %div.well.prettyprint
%div %div
%cite.cgray Created by %cite.cgray Created by
= image_tag gravatar_icon(@issue.author_email), :width => 16, :class => "lil_av" = image_tag gravatar_icon(@issue.author_email), :width => 16, :class => "lil_av"

View file

@ -1,9 +1,9 @@
%h3 %h3
= "Merge Request ##{@merge_request.id}:" = "Merge Request ##{@merge_request.id}:"
   
%span.label= @merge_request.source_branch %span.pretty_label.branch= @merge_request.source_branch
→ →
%span.label= @merge_request.target_branch %span.pretty_label.branch= @merge_request.target_branch
%small %small
created at created at
@ -46,7 +46,7 @@
= render "merge_requests/how_to_merge" = render "merge_requests/how_to_merge"
%div.well %div.well.prettyprint
%div %div
%cite.cgray Created by %cite.cgray Created by
= image_tag gravatar_icon(@merge_request.author_email), :width => 16, :class => "lil_av" = image_tag gravatar_icon(@merge_request.author_email), :width => 16, :class => "lil_av"