2015-02-18 01:40:00 -05:00
|
|
|
- if @contributed_projects.present?
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading Projects contributed to
|
2015-03-04 20:22:55 -05:00
|
|
|
= render 'shared/projects_list',
|
|
|
|
projects: @contributed_projects.sort_by(&:star_count).reverse,
|
|
|
|
projects_limit: 5, stars: true, avatar: false
|
2015-02-18 01:40:00 -05:00
|
|
|
|
|
|
|
- if @projects.present?
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading Personal projects
|
2015-03-04 20:22:55 -05:00
|
|
|
= render 'shared/projects_list',
|
|
|
|
projects: @projects.sort_by(&:star_count).reverse,
|
|
|
|
projects_limit: 10, stars: true, avatar: false
|