From 1e49a65a2a930390cf00114cc30d8516626331c2 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 9 Nov 2020 12:36:04 +0100 Subject: Vintage theme: support async metadata retrieval --- tpl/vintage/editlink.html | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'tpl') diff --git a/tpl/vintage/editlink.html b/tpl/vintage/editlink.html index eb8807b5..343418bc 100644 --- a/tpl/vintage/editlink.html +++ b/tpl/vintage/editlink.html @@ -6,6 +6,7 @@ {if="$link.title==''"}onload="document.linkform.lf_title.focus();" {elseif="$link.description==''"}onload="document.linkform.lf_description.focus();" {else}onload="document.linkform.lf_tags.focus();"{/if} > +{$asyncLoadClass=$link_is_new && $async_metadata && empty($link.title) ? 'loading-input' : ''} {include="page.footer"} - +{if="$link_is_new && $async_metadata"}{/if} -- cgit v1.2.3 From 336f15e8baeaba0c1605985cdd7f05980cf80696 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 9 Nov 2020 12:46:24 +0100 Subject: Vintage theme: display global messages --- tpl/vintage/page.header.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'tpl') diff --git a/tpl/vintage/page.header.html b/tpl/vintage/page.header.html index 0a33523b..64d7f656 100644 --- a/tpl/vintage/page.header.html +++ b/tpl/vintage/page.header.html @@ -54,6 +54,30 @@ {/if} +{if="!empty($global_errors)"} + +{/if} + +{if="!empty($global_warnings)"} + +{/if} + +{if="!empty($global_successes)"} + +{/if} +
-- cgit v1.2.3 From 85c09fe3799db606a3d117c370bc63965e4a8554 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 9 Nov 2020 12:46:43 +0100 Subject: Vintage theme: fix routes in daily page --- tpl/vintage/daily.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tpl') diff --git a/tpl/vintage/daily.html b/tpl/vintage/daily.html index 74f6cdc7..28ba9f90 100644 --- a/tpl/vintage/daily.html +++ b/tpl/vintage/daily.html @@ -14,9 +14,9 @@
All links of one day
in a single page.
- {if="$previousday"} <Previous day{else}<Previous day{/if} + {if="$previousday"} <Previous day{else}<Previous day{/if} - - {if="$nextday"}Next day>{else}Next day>{/if} + {if="$nextday"}Next day>{else}Next day>{/if}
{loop="$daily_about_plugin"} @@ -52,13 +52,13 @@ {$link=$value}
{if="!$hide_timestamps || $is_logged_in"} {/if} {if="$link.tags"} -- cgit v1.2.3