2017-05-24 10:25:44 +00:00
|
|
|
.convdev-card-wrapper
|
|
|
|
.convdev-card{ class: "convdev-card-#{score_level(card.percentage_score)}" }
|
|
|
|
.convdev-card-title
|
|
|
|
%h3
|
|
|
|
= card.title
|
2018-05-24 01:54:05 +00:00
|
|
|
.light-text
|
2017-05-24 10:25:44 +00:00
|
|
|
= card.description
|
2018-04-13 20:27:10 +00:00
|
|
|
.board-card-scores
|
|
|
|
.board-card-score
|
|
|
|
.board-card-score-value
|
2017-05-24 10:25:44 +00:00
|
|
|
= format_score(card.instance_score)
|
2019-01-30 23:00:42 +00:00
|
|
|
.board-card-score-name= _('You')
|
2018-04-13 20:27:10 +00:00
|
|
|
.board-card-score
|
|
|
|
.board-card-score-value
|
2017-05-24 10:25:44 +00:00
|
|
|
= format_score(card.leader_score)
|
2019-01-30 23:00:42 +00:00
|
|
|
.board-card-score-name= _('Lead')
|
2018-04-13 20:27:10 +00:00
|
|
|
.board-card-score-big
|
2017-05-24 10:25:44 +00:00
|
|
|
= number_to_percentage(card.percentage_score, precision: 1)
|
2018-04-13 20:27:10 +00:00
|
|
|
.board-card-buttons
|
2017-05-24 10:25:44 +00:00
|
|
|
- if card.blog
|
|
|
|
%a{ href: card.blog }
|
|
|
|
= icon('info-circle', 'aria-hidden' => 'true')
|
|
|
|
- if card.docs
|
|
|
|
%a{ href: card.docs }
|
|
|
|
= icon('question-circle', 'aria-hidden' => 'true')
|