<$list filter="[all[tiddlers+shadows]comment-targetsort[created]!has[draft.of]]">
-
<$link>{{!!creator}} at <$view field="modified" format="date" template="0hh:0mm:0ss DDD DDth MMM YYYY"/>$link>
<$reveal state="$:/status/IsReadOnly" type="match" text="no" default="no" tag="span">
<$reveal type="match" state="!!edit-mode" text="yes">
<$button>
<$action-setfield $tiddler=<> $field="edit-mode" $value="no"/>
<$action-setfield $tiddler=<> $field="text" $value={{!!saved-text}}/>
cancel
$button>
<$button>
<$action-deletetiddler $tiddler=<>/>
delete
$button>
<$button>
<$action-setfield $tiddler=<> $field="edit-mode" $value="no"/>
save
$button>
$reveal>
<$reveal type="nomatch" state="!!edit-mode" text="yes">
<$button>
<$action-setfield $tiddler=<> $field="edit-mode" $value="yes"/>
<$action-setfield $tiddler=<> $field="saved-text" $value={{!!text}}/>
edit
$button>
$reveal>
$reveal>
<$reveal type="match" state="!!edit-mode" text="yes">
<$edit-text tiddler=<> tag="textarea"/>
$reveal>
<$reveal type="nomatch" state="!!edit-mode" text="yes">
<$transclude tiddler=<> mode="block"/>
<$transclude tiddler="$:/plugins/tiddlywiki/comments/add-comment-button" mode="inline"/>
$reveal>
<$transclude tiddler="$:/plugins/tiddlywiki/comments/comments-template" mode="inline"/>
$list>