From 48fb171d7a64dbd1036f9e17cbf4c14304483817 Mon Sep 17 00:00:00 2001
From: tcit
Date: Wed, 15 Oct 2014 16:47:38 +0200
Subject: fix for #830
---
themes/default/js/popupForm.js | 8 ++++++++
themes/default/js/saveLink.js | 7 ++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
(limited to 'themes/default')
diff --git a/themes/default/js/popupForm.js b/themes/default/js/popupForm.js
index a32e6e70..eb6d1ae2 100644
--- a/themes/default/js/popupForm.js
+++ b/themes/default/js/popupForm.js
@@ -10,6 +10,14 @@ $(document).ready(function() {
$("#search").click(function(){
closeSearch();
+ // if other popup is already shown
+ if ($("#bagit-form").length != 0) {
+ $("#bagit").removeClass("active-current");
+ $('#content').removeClass("opacity03");
+ $("#bagit").removeClass("current");
+ $("#bagit-arrow").removeClass("arrow-down");
+ $("#bagit-form").hide();
+ }
$('#searchfield').focus();
});
diff --git a/themes/default/js/saveLink.js b/themes/default/js/saveLink.js
index 6dbce97e..b52b8a2c 100755
--- a/themes/default/js/saveLink.js
+++ b/themes/default/js/saveLink.js
@@ -13,7 +13,7 @@ $.fn.ready(function() {
$bagit.toggleClass("active-current");
- //only if bagiti link is not presented on page
+ //only if bag-it link is not presented on page
if ( $bagit.length === 0 ) {
if ( event !== 'undefined' && event ) {
$bagitForm.css( {position:"absolute", top:event.pageY, left:event.pageX-200});
@@ -23,6 +23,11 @@ $.fn.ready(function() {
}
}
+ if ($("#search-form").length != 0) {
+ $("#search").removeClass("current");
+ $("#search-arrow").removeClass("arrow-down");
+ $("#search-form").hide();
+ }
$bagitForm.toggle();
$('#content').toggleClass("opacity03");
if (url !== 'undefined' && url) {
--
cgit v1.2.3
From 7ee1972599f52924151794fe6c933ce69297f7f3 Mon Sep 17 00:00:00 2001
From: tcit
Date: Mon, 27 Oct 2014 14:00:47 +0100
Subject: translation fix for #887 and tiny display fix
---
themes/default/edit-tags.twig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'themes/default')
diff --git a/themes/default/edit-tags.twig b/themes/default/edit-tags.twig
index bd498d26..89c746ec 100755
--- a/themes/default/edit-tags.twig
+++ b/themes/default/edit-tags.twig
@@ -16,15 +16,15 @@
{% if tags is empty %}
-no tags
+{% trans "no tags" %}
{% endif %}
{% for tag in tags %}- {{ tag.value }} ✘
{% endfor %}
+ Browser Plugins
-
- {% trans "Upgrading wallabag" %}
+ Mobile Apps
+ {% trans "Bookmarklet" %}
+
+ {% trans "Drag & drop this link to your bookmarks bar:" %} {% trans "bag it!" %}
+
{% trans "Feeds" %}
{% if token == '' %}
@@ -39,14 +39,16 @@
{% trans "Favorites feed" %}
{% trans "Archive feed" %}
- {% trans "Your token:" %} {{token}}
- {% trans "Your user id:" %} {{user_id}}
- {% trans "You can regenerate your token: generate!." %}
+
+ {% trans "Your token:" %} {{token}}
+ {% trans "Your user id:" %} {{user_id}}
+ {% trans "You can regenerate your token: generate!." %}
+
{% endif %}
{% trans "Change your theme" %}