gitlab-org--gitlab-foss/app/views/explore/projects/trending.html.haml
Douwe Maan 5d785457db Clean up overlap between dashboard and explore.
- Split up SnippetsController into separate dashboard and explore sections.
- Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
2015-09-08 14:49:20 +01:00

16 lines
400 B
Text

- page_title "Projects"
- header_title "Projects", root_path
- if current_user
= render 'dashboard/projects_head'
- else
= render 'explore/head'
.explore-trending-block
.gray-content-block
.pull-right
= render 'explore/projects/dropdown'
.oneline
%i.fa.fa-comments-o
See most discussed projects for last month
= render 'projects', projects: @trending_projects