Fix project page with activity as default home page

This commit is contained in:
Dmitriy Zaporozhets 2015-09-07 11:10:40 +02:00
parent 66eca7d3ba
commit 6c1d5c5c9c
3 changed files with 11 additions and 3 deletions

View file

@ -331,3 +331,9 @@ pre.light-well {
padding: 10px 15px;
margin: 0;
}
.project-show-activity {
.activity-filter-block {
margin-top: -1px;
}
}

View file

@ -1,5 +1,5 @@
= render 'projects/last_push'
.gray-content-block
.gray-content-block.activity-filter-block
- if current_user
%ul.nav.nav-pills.event_filter.pull-right
%li

View file

@ -65,9 +65,11 @@
%section
- if prefer_readme?
= render 'projects/readme'
.project-show-readme
= render 'projects/readme'
- else
= render 'projects/activity'
.project-show-activity
= render 'projects/activity'
- if current_user