From 9a8e2b9f4d0c1e39d989496b7383fe5d679e6e90 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 c738d2f0..6dc16a3b 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 1273cef2b14f867bae18a92da3272e2df5365fd3 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 d1722f76..fa1f17e2 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 >