From 962bbef93349d15e255dfed7c30086af41fdb925 Mon Sep 17 00:00:00 2001 From: LeXofLeviafan Date: Sun, 25 Aug 2024 16:55:10 +0200 Subject: [PATCH] ensuring that popup links always open externally --- bukuserver/templates/bukuserver/bookmark_create.html | 2 +- bukuserver/templates/bukuserver/bookmark_details.html | 2 +- bukuserver/templates/bukuserver/bookmark_edit.html | 2 +- bukuserver/templates/bukuserver/lib.html | 7 ++++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bukuserver/templates/bukuserver/bookmark_create.html b/bukuserver/templates/bukuserver/bookmark_create.html index 55fbdb5d..974da099 100644 --- a/bukuserver/templates/bukuserver/bookmark_create.html +++ b/bukuserver/templates/bukuserver/bookmark_create.html @@ -3,9 +3,9 @@ {% block tail %} {{ super() }} + {{ buku.limit_navigation_if_popup() }} {{ buku.script('bookmark.js') }} {{ buku.fetch_checkbox() }} {{ buku.focus() }} {{ buku.link_saved() }} - {{ buku.limit_navigation_if_popup() }} {% endblock %} diff --git a/bukuserver/templates/bukuserver/bookmark_details.html b/bukuserver/templates/bukuserver/bookmark_details.html index c091ab4a..6f677456 100644 --- a/bukuserver/templates/bukuserver/bookmark_details.html +++ b/bukuserver/templates/bukuserver/bookmark_details.html @@ -3,8 +3,8 @@ {% block tail %} {{ super() }} + {{ buku.limit_navigation_if_popup() }} {{ buku.details_formatting() }} {{ buku.link_saved() }} - {{ buku.limit_navigation_if_popup() }} {% endblock %} diff --git a/bukuserver/templates/bukuserver/bookmark_edit.html b/bukuserver/templates/bukuserver/bookmark_edit.html index d09b25e8..82d5ff89 100644 --- a/bukuserver/templates/bukuserver/bookmark_edit.html +++ b/bukuserver/templates/bukuserver/bookmark_edit.html @@ -21,9 +21,9 @@ {% block tail %} {{ super() }} + {{ buku.limit_navigation_if_popup() }} {{ buku.script('bookmark.js') }} {{ buku.focus() }} {{ buku.link_saved() }} - {{ buku.limit_navigation_if_popup() }} {% endblock %} diff --git a/bukuserver/templates/bukuserver/lib.html b/bukuserver/templates/bukuserver/lib.html index 57c40872..0c793abf 100644 --- a/bukuserver/templates/bukuserver/lib.html +++ b/bukuserver/templates/bukuserver/lib.html @@ -42,11 +42,12 @@ {% macro details_formatting(prefix='') %} {% endmacro %}