mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-22 20:41:38 -08:00
27 lines
781 B
Text
27 lines
781 B
Text
code-body: yes
|
|
title: $:/core/ui/AlertTemplate
|
|
|
|
\whitespace trim
|
|
<div class="tc-alert" role="alertdialog">
|
|
<div class="tc-alert-toolbar">
|
|
<$button class="tc-btn-invisible" aria-label={{$:/language/Buttons/Close/Caption}}><$action-deletetiddler $tiddler=<<currentTiddler>>/>{{$:/core/images/cancel-button}}</$button>
|
|
</div>
|
|
<div class="tc-alert-subtitle">
|
|
<$wikify name="format" text=<<lingo Tiddler/DateFormat>>>
|
|
<$view field="component"/>
|
|
 - 
|
|
<$view field="modified" format="date" template=<<format>>/>
|
|
 
|
|
<$reveal type="nomatch" state="!!count" text="">
|
|
<span class="tc-alert-highlight">
|
|
({{$:/language/Count}}: <$view field="count"/>)
|
|
</span>
|
|
</$reveal>
|
|
</$wikify>
|
|
</div>
|
|
<div class="tc-alert-body" role="alert" aria-atomic="true">
|
|
|
|
<$transclude/>
|
|
|
|
</div>
|
|
</div>
|