Fix project page with activity as default home page
This commit is contained in:
parent
66eca7d3ba
commit
6c1d5c5c9c
3 changed files with 11 additions and 3 deletions
|
@ -331,3 +331,9 @@ pre.light-well {
|
|||
padding: 10px 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.project-show-activity {
|
||||
.activity-filter-block {
|
||||
margin-top: -1px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue