-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.tid
31 lines (27 loc) · 1.12 KB
/
template.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
tags: $:/tags/ViewTemplate
title: $:/plugins/breakzplatform/github-comments/template
type: text/vnd.tiddlywiki
<$list filter="[all[current]subfilter{$:/config/breakzplatform/github-comments/filter}]" variable="doNotOverrideCurrent">
<$set name="stateTiddler" value="$:/state/breakzplatform/github-comments">
<$reveal type="nomatch" state=<<stateTiddler>> text=<<currentTiddler>>>
@@.breakzplatform-github-comments-toggle
<$button class="tc-btn-invisible" set=<<stateTiddler>> setTo=<<currentTiddler>> >
{{$:/core/images/down-arrow}}
{{$:/core/images/github}}
{{$:/config/breakzplatform/github-comments/label-show}}
</$button>
@@
</$reveal>
<$reveal type="match" state=<<stateTiddler>> text=<<currentTiddler>>>
@@.breakzplatform-github-comments-toggle
<$button class="tc-btn-invisible" set=<<stateTiddler>> setTo="">
{{$:/core/images/up-arrow}}
{{$:/core/images/github}}
{{$:/config/breakzplatform/github-comments/label-hide}}
</$button>
@@
<div class="gh-comments-wrapper"></div>
<$macrocall $name="github-comments" current=<<currentTiddler>>/>
</$reveal>
</$set>
</$list>