From 9049043f0b71d3f557a71119ea9ba0266b240595 Mon Sep 17 00:00:00 2001
From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
Date: Sun, 12 May 2024 18:20:29 +0200
Subject: [PATCH] store/dash: cosmetics (#2328)
---
store/assets/tailwind-local.css | 2 +-
store/templates/app.html | 2 +-
store/templates/dash.html | 16 ++++++++++++----
store/templates/wishlist_add.html | 8 ++++----
4 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/store/assets/tailwind-local.css b/store/assets/tailwind-local.css
index e08dab0c..8a2758ae 100644
--- a/store/assets/tailwind-local.css
+++ b/store/assets/tailwind-local.css
@@ -4,7 +4,7 @@
@layer utilities {
input, textarea, select {
- @apply !rounded-md shadow-sm border-gray-200 !bg-neutral-50;
+ @apply !rounded-md shadow-sm !border-gray-200 !bg-neutral-50;
}
.btn {
@apply text-sm font-medium rounded-md px-4 py-2 transition;
diff --git a/store/templates/app.html b/store/templates/app.html
index a9998238..8f2d7561 100644
--- a/store/templates/app.html
+++ b/store/templates/app.html
@@ -82,7 +82,7 @@
{{ _("Demo") }}
{% endif %}
-
+
Install
with
diff --git a/store/templates/dash.html b/store/templates/dash.html
index e98eadbf..af1ea54a 100644
--- a/store/templates/dash.html
+++ b/store/templates/dash.html
@@ -106,8 +106,12 @@
- 30 %}opacity-50{% endif %}" href="https://ci-apps.yunohost.org/ci/apps/{{ app }}/">
- {{ infos["ci_results"]["main"]["level"] }}
+ 30 %}opacity-50{% endif %}" href="https://ci-apps.yunohost.org/ci/apps/{{ app }}/">
+ {% if infos["public_level"] == infos["ci_results"]["main"]["level"] %}
+ =
+ {% else %}
+ {{ infos["ci_results"]["main"]["level"] }}
+ {% endif %}
{% if infos["ci_results"]["main"]["timestamp"] | days_ago > 30 %}
{% endif %}
@@ -120,9 +124,13 @@
|
- 30 %}opacity-50{% endif %}" href="https://ci-apps-bookworm.yunohost.org/ci/apps/{{ app }}/">
+ 30) %}opacity-50{% endif %}" href="https://ci-apps-bookworm.yunohost.org/ci/apps/{{ app }}/">
{% if infos["ci_results"]["nextdebian"] %}
- {{ infos["ci_results"]["nextdebian"]["level"] }}
+ {% if infos["public_level"] == infos["ci_results"]["nextdebian"]["level"] %}
+ =
+ {% else %}
+ {{ infos["ci_results"]["nextdebian"]["level"] }}
+ {% endif %}
{% if infos["ci_results"]["nextdebian"]["timestamp"] | days_ago > 30 %}
{% endif %}
diff --git a/store/templates/wishlist_add.html b/store/templates/wishlist_add.html
index f9de62c7..6fea0f8a 100644
--- a/store/templates/wishlist_add.html
+++ b/store/templates/wishlist_add.html
@@ -59,21 +59,21 @@
-
+
{{ _("Please be concise and focus on what the app does.") }} {{ _("No need to repeat '[App] is …'. No need to state that it is free/open-source or self-hosted (otherwise it wouldn't be packaged for YunoHost). Avoid marketing stuff like 'the most', or vague properties like 'easy', 'simple', 'lightweight'.") }}
-
+
-
+
{{ _("The YunoHost project will only package free/open-source software (with possible case-by-case exceptions for apps which are not-totally-free)") }}
-
+
{{ _("Please *do not* just copy-paste the code repository URL. If the project has no proper website, then leave the field empty.") }}
|