mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
31 lines
795 B
Plaintext
31 lines
795 B
Plaintext
title: $:/core/ui/ViewTemplate/import
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
\define lingo-base() $:/language/Import/
|
|
|
|
\define buttons()
|
|
<$button message="tm-delete-tiddler" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button>
|
|
<$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
|
|
|
|
<$list filter="[all[current]field:plugin-type[import]]">
|
|
|
|
<div class="tc-import">
|
|
|
|
<<lingo Listing/Hint>>
|
|
|
|
<<buttons>>
|
|
|
|
{{||$:/core/ui/ImportListing}}
|
|
|
|
<<buttons>>
|
|
|
|
</div>
|
|
|
|
</$list>
|