From 7e9bd977eec3c996119626a4bb2828fc08979db8 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 24 Feb 2018 18:34:50 +0100 Subject: Webpack / Update front paths in template files --- tpl/default/picwall.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/picwall.html') diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 248e56df..23796ac9 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -39,7 +39,7 @@ {include="page.footer"} - + -- cgit v1.2.3 From 9d0fc862507e1933e447b3c3e92a438400aad263 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 10 May 2018 13:26:11 +0200 Subject: Add classes to default template to avoid using IDs in SCSS --- tpl/default/picwall.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tpl/default/picwall.html') diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 23796ac9..2f7e03dc 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -18,9 +18,9 @@ {/loop} -
+
{loop="$linksToDisplay"} -
+
{$value.thumbnail}{$value.title} {loop="$value.picwall_plugin"} {$value} -- cgit v1.2.3 From e85b7a05a177f803ae36ba5c12835313f31177bc Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 11 Nov 2017 14:01:21 +0100 Subject: Update thumbnail integration after rebasing the branch --- tpl/default/picwall.html | 68 ++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 28 deletions(-) (limited to 'tpl/default/picwall.html') diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 2f7e03dc..1ea9c20a 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -5,41 +5,53 @@ {include="page.header"} +{if="!$thumbnails_enabled"} +
+
+ {'Picture wall unavailable (thumbnails are disabled).'|t} +
+
+{else} +
+
+
+ {$countPics=count($linksToDisplay)} +

{'Picture Wall'|t} - {$countPics} {'pics'|t}

-
-
-
- {$countPics=count($linksToDisplay)} -

{'Picture Wall'|t} - {$countPics} {'pics'|t}

- -
- {loop="$plugin_start_zone"} - {$value} - {/loop} -
+
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
-
- {loop="$linksToDisplay"} -
- {$value.thumbnail}{$value.title} - {loop="$value.picwall_plugin"} - {$value} - {/loop} -
- {/loop} -
-
+
+ {loop="$linksToDisplay"} +
+ {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} + thumbnail + {$value.title} + {loop="$value.picwall_plugin"} + {$value} + {/loop} +
+ {/loop} +
+
-
- {loop="$plugin_end_zone"} - {$value} - {/loop} +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
-
+{/if} {include="page.footer"} - + -- cgit v1.2.3 From fcba541e2f12c85ac56c6915ba1319fbdd3e6962 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 1 Jul 2018 11:44:35 +0200 Subject: Bump WT version --- tpl/default/picwall.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tpl/default/picwall.html') diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 1ea9c20a..1b8bf3b9 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -24,9 +24,9 @@ {/loop}
-
+
{loop="$linksToDisplay"} -
+
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} Date: Tue, 17 Jul 2018 13:13:26 +0200 Subject: Bunch of improvement for thumbnails integration: - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config --- tpl/default/picwall.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tpl/default/picwall.html') diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 1b8bf3b9..9a0b10dc 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -12,6 +12,14 @@
{else} + {if="count($linksToDisplay)===0 && $is_logged_in"} +
+
+ {'There is no cached thumbnail. Try to synchronize them.'|t} +
+
+ {/if} +
-- cgit v1.2.3 From 8c75c43e7ee0370eefceea84c6a74383e5c65d4b Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 14 Aug 2018 11:43:54 +0200 Subject: Fix a bug making thumbnail to request the current page --- tpl/default/picwall.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/picwall.html') diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 9a0b10dc..4c325487 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html @@ -37,7 +37,7 @@
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} thumbnail {$value.title} {loop="$value.picwall_plugin"} -- cgit v1.2.3