From 03340c18ead651ef9e11f883745695f2edafbae3 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 12 May 2020 12:44:48 +0200 Subject: Slim router: handle add tag route --- tpl/vintage/linklist.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/vintage/linklist.html') diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index dcb14e90..8f1ded95 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -133,7 +133,7 @@ {$value.url}
{if="$value.tags"}
- {loop="$value.taglist"}{$value} {/loop} + {loop="$value.taglist"}{$value} {/loop}
{/if} -- cgit v1.2.3 From 893f5159c64e5bcff505c8367e6dc22cc2a7b14d Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 20 May 2020 14:38:31 +0200 Subject: Process remove tag endpoint through Slim controller --- tpl/vintage/linklist.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/vintage/linklist.html') diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 8f1ded95..502abcf9 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -66,7 +66,7 @@ tagged {loop="$exploded_tags"} - {$value} x + {$value} x {/loop} {elseif="$search_tags === false"} -- cgit v1.2.3 From 818b3193ffabec57501e3bdfa997206e3c0671ef Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 13 Jun 2020 11:22:14 +0200 Subject: Explicitly define base and asset path in templates With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers. --- tpl/vintage/linklist.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tpl/vintage/linklist.html') diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 502abcf9..8db8f70b 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -66,12 +66,12 @@ tagged {loop="$exploded_tags"} - {$value} x + {$value} x {/loop} {elseif="$search_tags === false"} - untagged x + untagged x {/if} @@ -95,13 +95,13 @@
- +

-
@@ -114,7 +114,7 @@ {if="!$hide_timestamps || $is_logged_in"} {$updated=$value.updated_timestamp ? 'Edited: '. format_date($value.updated) : 'Permalink'} - + {$value.created|format_date} {if="$value.updated_timestamp"}*{/if} @@ -123,7 +123,7 @@ - {else} - permalink - + permalink - {/if} {loop="$value.link_plugin"} @@ -133,7 +133,7 @@ {$value.url}
{if="$value.tags"}
- {loop="$value.taglist"}{$value} {/loop} + {loop="$value.taglist"}{$value} {/loop}
{/if} @@ -154,7 +154,7 @@ {include="page.footer"} - + -- cgit v1.2.3 From 9fbc42294e7667c5ef19cafa0d1fcfbc1c0f36a9 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 26 Jul 2020 14:43:10 +0200 Subject: New basePath: fix officiel plugin paths and vintage template --- tpl/vintage/linklist.html | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'tpl/vintage/linklist.html') diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 8db8f70b..00896eb5 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -1,7 +1,6 @@ - {include="includes"} @@ -84,7 +83,7 @@
{ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} - thumbnail @@ -93,17 +92,16 @@