mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-16 14:51:24 +00:00
Display warning banner when plugins are modified
Fixes #1455 @aelocson have I got the docs right for the new filter?
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
title: $:/core/ui/PageTemplate/pluginreloadwarning
|
||||
tags: $:/tags/PageTemplate
|
||||
|
||||
\define lingo-base() $:/language/
|
||||
|
||||
<$list filter="[has[plugin-type]haschanged[]limit[1]]">
|
||||
|
||||
<$reveal type="nomatch" state="$:/temp/HidePluginWarning" text="yes">
|
||||
|
||||
<div class="tc-plugin-reload-warning">
|
||||
|
||||
<$set name="tv-config-toolbar-class" value="">
|
||||
|
||||
<<lingo PluginReloadWarning>> <$button set="$:/temp/HidePluginWarning" setTo="yes" class="tc-btn-invisible">{{$:/core/images/close-button}}</$button>
|
||||
|
||||
</$set>
|
||||
|
||||
</div>
|
||||
|
||||
</$reveal>
|
||||
|
||||
</$list>
|
||||
Reference in New Issue
Block a user