From 550992c1132e2e10f90c4a934319a0636cf4ac62 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 26 Sep 2023 21:27:57 +0200 Subject: [PATCH 1/2] External links in catalog to open in a new tab --- store/templates/app.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/store/templates/app.html b/store/templates/app.html index c738d2f..6dc16a3 100644 --- a/store/templates/app.html +++ b/store/templates/app.html @@ -136,12 +136,12 @@

{{ _("Useful links") }}

{% set upstream = infos["manifest"]["upstream"] %} - {{ _("License: %(license)s", license=upstream.license) }} - {% if upstream.website %} {{ _(" Official website") }}{% endif %} - {% if upstream.admindoc %} {{ _("Official admin documentation") }}{% endif %} - {% if upstream.userdoc %} {{ _("Official user documentation") }}{% endif %} - {% if upstream.code %} {{ _("Official code repository") }}{% endif %} - {{ _("YunoHost package repository") }} + {{ _("License: %(license)s", license=upstream.license) }} + {% if upstream.website %} {{ _(" Official website") }}{% endif %} + {% if upstream.admindoc %} {{ _("Official admin documentation") }}{% endif %} + {% if upstream.userdoc %} {{ _("Official user documentation") }}{% endif %} + {% if upstream.code %} {{ _("Official code repository") }}{% endif %} + {{ _("YunoHost package repository") }}
{% endblock %} From 98e8c1125b097edd18ed9255881ccde6c80f24a3 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 26 Sep 2023 21:37:13 +0200 Subject: [PATCH 2/2] External links in wishlist to open in a new tab --- store/templates/wishlist.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/store/templates/wishlist.html b/store/templates/wishlist.html index d1722f7..fa1f17e 100644 --- a/store/templates/wishlist.html +++ b/store/templates/wishlist.html @@ -103,6 +103,7 @@ aria-label="{{ _('Official website') }}" href="{{ infos['website'] }}" class="inline-block" + target="_blank" > @@ -115,6 +116,7 @@ aria-label="{{ _('Code repository') }}" href="{{ infos['upstream'] }}" class="inline-block" + target="_blank >