Project show page polished

This commit is contained in:
Dmitriy Zaporozhets 2012-03-26 23:11:15 +03:00
parent 788de6f1c8
commit 1647f46b1f
2 changed files with 35 additions and 34 deletions

View file

@ -1010,6 +1010,7 @@ p.time {
} }
} }
.project_box,
.issue_box, .issue_box,
.commit_box, .commit_box,
.merge_request_box{ .merge_request_box{
@ -1028,8 +1029,8 @@ p.time {
} }
} }
.commit_box { .project_box .project_descr,
.commit_message { .commit_box .commit_message {
margin: -20px; margin: -20px;
padding: 20px; padding: 20px;
margin-top:10px; margin-top:10px;
@ -1040,7 +1041,6 @@ p.time {
border:none; border:none;
border-top:1px solid #eee; border-top:1px solid #eee;
} }
}
.highlight_word { .highlight_word {
background:#EEDC94; background:#EEDC94;

View file

@ -1,4 +1,5 @@
= render "project_head" = render "project_head"
.project_box
%h3 %h3
= @project.name = @project.name
%span.right %span.right
@ -21,7 +22,7 @@
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url" = text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
- if @project.description.present? - if @project.description.present?
.markdown.prettyprint= markdown @project.description .markdown.project_descr= markdown @project.description
- unless @events.blank? - unless @events.blank?
%br %br
%h5.cgray %h5.cgray