2014-07-14 20:52:46 +00:00
|
|
|
title: $:/core/ui/ViewTemplate/import
|
|
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
|
|
|
|
\define lingo-base() $:/language/Import/
|
|
|
|
|
2021-06-21 19:58:58 +00:00
|
|
|
\define confirmCancel()
|
|
|
|
<$action-confirm $message={{$:/language/Import/Listing/Cancel/Warning}} >
|
|
|
|
<$action-deletetiddler $tiddler=<<currentTiddler>>/>
|
|
|
|
<$action-sendmessage $message="tm-close-tiddler" title=<<currentTiddler>>/>
|
|
|
|
</$action-confirm>
|
|
|
|
\end
|
|
|
|
|
2018-04-03 16:50:57 +00:00
|
|
|
\define buttons()
|
2021-06-21 19:58:58 +00:00
|
|
|
<$button actions=<<confirmCancel>> ><<lingo Listing/Cancel/Caption>></$button>
|
2018-04-03 16:50:57 +00:00
|
|
|
<$button message="tm-perform-import" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button>
|
|
|
|
<<lingo Listing/Preview>> <$select tiddler="$:/state/importpreviewtype" default="$:/core/ui/ImportPreviews/Text">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ImportPreview]!has[draft.of]]">
|
|
|
|
<option value=<<currentTiddler>>>{{!!caption}}</option>
|
|
|
|
</$list>
|
|
|
|
</$select>
|
|
|
|
\end
|
|
|
|
|
2014-07-14 20:52:46 +00:00
|
|
|
<$list filter="[all[current]field:plugin-type[import]]">
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
<div class="tc-import">
|
2014-07-14 20:52:46 +00:00
|
|
|
|
|
|
|
<<lingo Listing/Hint>>
|
|
|
|
|
2018-04-03 16:50:57 +00:00
|
|
|
<<buttons>>
|
2015-08-01 12:19:39 +00:00
|
|
|
|
2014-07-14 20:52:46 +00:00
|
|
|
{{||$:/core/ui/ImportListing}}
|
|
|
|
|
2018-04-03 16:50:57 +00:00
|
|
|
<<buttons>>
|
2014-07-14 20:52:46 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|