Project show page polished
This commit is contained in:
parent
788de6f1c8
commit
1647f46b1f
2 changed files with 35 additions and 34 deletions
|
@ -1010,6 +1010,7 @@ p.time {
|
|||
}
|
||||
}
|
||||
|
||||
.project_box,
|
||||
.issue_box,
|
||||
.commit_box,
|
||||
.merge_request_box{
|
||||
|
@ -1028,8 +1029,8 @@ p.time {
|
|||
}
|
||||
}
|
||||
|
||||
.commit_box {
|
||||
.commit_message {
|
||||
.project_box .project_descr,
|
||||
.commit_box .commit_message {
|
||||
margin: -20px;
|
||||
padding: 20px;
|
||||
margin-top:10px;
|
||||
|
@ -1039,7 +1040,6 @@ p.time {
|
|||
background-color:#f5f5f5;
|
||||
border:none;
|
||||
border-top:1px solid #eee;
|
||||
}
|
||||
}
|
||||
|
||||
.highlight_word {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
= render "project_head"
|
||||
%h3
|
||||
.project_box
|
||||
%h3
|
||||
= @project.name
|
||||
%span.right
|
||||
- if can? current_user, :download_code, @project
|
||||
|
@ -10,18 +11,18 @@
|
|||
- if @project.issues_enabled && can?(current_user, :write_issue, @project)
|
||||
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
|
||||
Issue
|
||||
.back_link
|
||||
.back_link
|
||||
= link_to projects_path do
|
||||
← To projects list
|
||||
%br
|
||||
.alert-message.block-message.warning
|
||||
%br
|
||||
.alert-message.block-message.warning
|
||||
.input
|
||||
.input-prepend
|
||||
%span.add-on git clone
|
||||
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
|
||||
|
||||
- if @project.description.present?
|
||||
.markdown.prettyprint= markdown @project.description
|
||||
- if @project.description.present?
|
||||
.markdown.project_descr= markdown @project.description
|
||||
- unless @events.blank?
|
||||
%br
|
||||
%h5.cgray
|
||||
|
|
Loading…
Add table
Reference in a new issue