mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-16 14:51:24 +00:00
Add a warning segment to templates for TWC tiddlers
Now there’s a warning banner on all TWC tiddlers. It includes an `upgrade` button that currently just flips the tiddler type to TW5
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
title: $:/core/ui/ViewTemplate/classic
|
||||
tags: $:/tags/ViewTemplate $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/ClassicWarning/
|
||||
<$list filter="[is[current]type[text/x-tiddlywiki]]">
|
||||
<div class="tw-message-box">
|
||||
|
||||
<<lingo Hint>>
|
||||
|
||||
<$button set="!!type" setTo="text/vnd.tiddlywiki"><<lingo Upgrade/Caption>></$button>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
Reference in New Issue
Block a user