-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.tid
34 lines (32 loc) · 916 Bytes
/
home.tid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
caption: {{$:/plugins/tidme/fsrs4tw/icon}} {{$:/language/tidme/tidme}}
description: {{$:/language/tidme/tidmetip}}
tags: $:/tags/PageControls
title: $:/plugins/tidme/fsrs4tw/home
\whitespace trim
\define tidme-home-button(class)
\whitespace trim
<$button
to="$:/Decks"
tooltip={{$:/language/tidme/tidme}}
aria-label={{$:/language/tidme/tidme}}
class="""$(tv-config-toolbar-class)$ $class$"""
>
<$list
filter="[<tv-config-toolbar-icons>match[yes]]"
>
{{$:/plugins/tidme/fsrs4tw/icon}}
</$list>
<$list
filter="[<tv-config-toolbar-text>match[yes]]"
>
<span class="tc-btn-text">
<$text
text={{$:/language/tidme/tidme}}
/>
</span>
</$list>
</$button>
\end
<$list filter="[list<tv-story-list>] +[field:title[$:/Decks]]" emptyMessage=<<tidme-home-button>>>
<<tidme-home-button "tc-selected">>
</$list>