From 016b49b94d780fcb55a3c0e7205fe1d70410c2e3 Mon Sep 17 00:00:00 2001 From: axolotle Date: Thu, 8 Apr 2021 10:50:04 +0200 Subject: [PATCH] turn highquality badge into a star --- app/src/views/app/AppCatalog.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/src/views/app/AppCatalog.vue b/app/src/views/app/AppCatalog.vue index 31ebf917..227c035d 100644 --- a/app/src/views/app/AppCatalog.vue +++ b/app/src/views/app/AppCatalog.vue @@ -66,15 +66,20 @@ - + {{ app.manifest.name }} - + {{ $t('app_state_' + app.state) }} + @@ -268,7 +273,7 @@ export default { } else { filters.isDecentQuality = true } - if (app.high_quality && app.level > 7) { + if (app.level >= 8) { filters.state = 'highquality' filters.isHighQuality = true } @@ -276,8 +281,7 @@ export default { }, formatColor (app) { - if (app.isHighQuality) return 'best' - if (app.isDecentQuality) return 'success' + if (app.isDecentQuality || app.isHighQuality) return 'success' if (app.isWorking) return 'warning' return 'danger' }, @@ -389,6 +393,10 @@ export default { .alert-warning { font-size: .75em; } + + .star { + color: goldenrod; + } } .category-card {