2015-12-23 02:04:40 +05:30
|
|
|
- if local_assigns.has_key?(:contributed_projects) && contributed_projects.present?
|
2018-11-08 19:23:39 +05:30
|
|
|
.card.contributed-projects
|
2021-06-08 01:23:25 +05:30
|
|
|
.card-header= _('Projects contributed to')
|
2015-12-23 02:04:40 +05:30
|
|
|
= render 'shared/projects/list',
|
|
|
|
projects: contributed_projects.sort_by(&:star_count).reverse,
|
|
|
|
projects_limit: 5, stars: true, avatar: false
|
|
|
|
|
|
|
|
- if local_assigns.has_key?(:projects) && projects.present?
|
2018-11-08 19:23:39 +05:30
|
|
|
.card
|
2021-06-08 01:23:25 +05:30
|
|
|
.card-header= _('Personal projects')
|
2015-12-23 02:04:40 +05:30
|
|
|
= render 'shared/projects/list',
|
|
|
|
projects: projects.sort_by(&:star_count).reverse,
|
|
|
|
projects_limit: 10, stars: true, avatar: false
|