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:
Jermolene
2015-02-08 19:40:15 +00:00
parent e18825e897
commit aae56f20af
5 changed files with 89 additions and 0 deletions
@@ -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>