summaryrefslogtreecommitdiff
path: root/app/views/admin/conversational_development_index
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-13 15:27:10 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-13 15:27:10 -0500
commit94a72ecf5f0d6e07cc5d77fbcce98d97450394d4 (patch)
tree4291ca85af60863da256ce43647ec0a76395d1ff /app/views/admin/conversational_development_index
parentef05eda4c888bc6256494f45bda8264cbd620ede (diff)
downloadgitlab-ce-94a72ecf5f0d6e07cc5d77fbcce98d97450394d4.tar.gz
[skip ci] Convert previous .card to .board-card
Diffstat (limited to 'app/views/admin/conversational_development_index')
-rw-r--r--app/views/admin/conversational_development_index/_card.html.haml18
-rw-r--r--app/views/admin/conversational_development_index/show.html.haml2
2 files changed, 10 insertions, 10 deletions
diff --git a/app/views/admin/conversational_development_index/_card.html.haml b/app/views/admin/conversational_development_index/_card.html.haml
index 6c8688e06ae..d66c2381618 100644
--- a/app/views/admin/conversational_development_index/_card.html.haml
+++ b/app/views/admin/conversational_development_index/_card.html.haml
@@ -5,18 +5,18 @@
= card.title
.text-light
= card.description
- .card-scores
- .card-score
- .card-score-value
+ .board-card-scores
+ .board-card-score
+ .board-card-score-value
= format_score(card.instance_score)
- .card-score-name You
- .card-score
- .card-score-value
+ .board-card-score-name You
+ .board-card-score
+ .board-card-score-value
= format_score(card.leader_score)
- .card-score-name Lead
- .card-score-big
+ .board-card-score-name Lead
+ .board-card-score-big
= number_to_percentage(card.percentage_score, precision: 1)
- .card-buttons
+ .board-card-buttons
- if card.blog
%a{ href: card.blog }
= icon('info-circle', 'aria-hidden' => 'true')
diff --git a/app/views/admin/conversational_development_index/show.html.haml b/app/views/admin/conversational_development_index/show.html.haml
index d71417ef88f..e3d1aa31dc2 100644
--- a/app/views/admin/conversational_development_index/show.html.haml
+++ b/app/views/admin/conversational_development_index/show.html.haml
@@ -21,7 +21,7 @@
score
= link_to icon('question-circle', 'aria-hidden' => 'true'), help_page_path('user/admin_area/monitoring/convdev')
- .convdev-cards.card-container
+ .convdev-cards.board-card-container
- @metric.cards.each do |card|
= render 'card', card: card