Commit 6c1d5c5c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix project page with activity as default home page

parent 66eca7d3
...@@ -331,3 +331,9 @@ pre.light-well { ...@@ -331,3 +331,9 @@ pre.light-well {
padding: 10px 15px; padding: 10px 15px;
margin: 0; margin: 0;
} }
.project-show-activity {
.activity-filter-block {
margin-top: -1px;
}
}
= render 'projects/last_push' = render 'projects/last_push'
.gray-content-block .gray-content-block.activity-filter-block
- if current_user - if current_user
%ul.nav.nav-pills.event_filter.pull-right %ul.nav.nav-pills.event_filter.pull-right
%li %li
......
...@@ -65,8 +65,10 @@ ...@@ -65,8 +65,10 @@
%section %section
- if prefer_readme? - if prefer_readme?
.project-show-readme
= render 'projects/readme' = render 'projects/readme'
- else - else
.project-show-activity
= render 'projects/activity' = render 'projects/activity'
......
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