Commit 2ee8d5aa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve project show page for ipad

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a6da154e
......@@ -16,7 +16,7 @@
.project-home-panel {
border-bottom: 1px solid #DDD;
padding-bottom: 25px;
padding-bottom: 15px;
margin-bottom: 30px;
&.empty-project {
......@@ -41,12 +41,14 @@
.project-home-desc {
float: left;
color: #777;
margin-bottom: 10px;
}
.project-home-links {
float: right;
a {
margin-left: 10px;
font-weight: 500;
}
}
}
......
......@@ -14,8 +14,9 @@
.form-horizontal
= render "shared/clone_panel"
.project-home-extra.clearfix.row
.project-home-desc.col-md-8
.project-home-extra.row
.col-md-8
.project-home-desc
- if @project.description.present?
= @project.description
- if can?(current_user, :admin_project, @project)
......@@ -23,6 +24,7 @@
%strong= link_to 'Edit', edit_project_path
- unless empty_repo
.col-md-4
.project-home-links
= link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
= link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project)
......
= render "home_panel"
.row
.col-md-9.hidden-sm
.col-md-9
= render "events/event_last_push", event: @last_push
= render 'shared/event_filter'
.content_list
.loading.hide
.col-md-3.project-side
.col-md-3.project-side.hidden-sm
.clearfix
- if @project.archived?
.alert
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment