diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 12:46:24 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 12:46:24 +0100 |
commit | 336f15e8baeaba0c1605985cdd7f05980cf80696 (patch) | |
tree | b3bcb424128df2b57826e11d11d7983ef989415c /tpl | |
parent | 1e49a65a2a930390cf00114cc30d8516626331c2 (diff) | |
download | Shaarli-336f15e8baeaba0c1605985cdd7f05980cf80696.tar.gz Shaarli-336f15e8baeaba0c1605985cdd7f05980cf80696.tar.zst Shaarli-336f15e8baeaba0c1605985cdd7f05980cf80696.zip |
Vintage theme: display global messages
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/vintage/page.header.html | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ | |||
54 | </ul> | 54 | </ul> |
55 | {/if} | 55 | {/if} |
56 | 56 | ||
57 | {if="!empty($global_errors)"} | ||
58 | <ul class="errors"> | ||
59 | {loop="$global_errors"} | ||
60 | <li>{$value}</li> | ||
61 | {/loop} | ||
62 | </ul> | ||
63 | {/if} | ||
64 | |||
65 | {if="!empty($global_warnings)"} | ||
66 | <ul class="warnings"> | ||
67 | {loop="$global_warnings"} | ||
68 | <li>{$value}</li> | ||
69 | {/loop} | ||
70 | </ul> | ||
71 | {/if} | ||
72 | |||
73 | {if="!empty($global_successes)"} | ||
74 | <ul class="successes"> | ||
75 | {loop="$global_successes"} | ||
76 | <li>{$value}</li> | ||
77 | {/loop} | ||
78 | </ul> | ||
79 | {/if} | ||
80 | |||
57 | <div class="clear"></div> | 81 | <div class="clear"></div> |
58 | 82 | ||
59 | 83 | ||