2016-11-23 18:20:31 +00:00
|
|
|
title: $:/core/ui/Buttons/timestamp
|
|
|
|
tags: $:/tags/PageControls
|
|
|
|
caption: {{$:/core/images/timestamp-on}} {{$:/language/Buttons/Timestamp/Caption}}
|
|
|
|
description: {{$:/language/Buttons/Timestamp/Hint}}
|
|
|
|
|
2019-10-07 14:13:56 +00:00
|
|
|
\whitespace trim
|
2016-11-23 18:20:31 +00:00
|
|
|
<$reveal type="nomatch" state="$:/config/TimestampDisable" text="yes">
|
|
|
|
<$button tooltip={{$:/language/Buttons/Timestamp/On/Hint}} aria-label={{$:/language/Buttons/Timestamp/On/Caption}} class=<<tv-config-toolbar-class>>>
|
|
|
|
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="yes"/>
|
2024-09-10 11:00:13 +00:00
|
|
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
2016-11-23 18:20:31 +00:00
|
|
|
{{$:/core/images/timestamp-on}}
|
2024-09-10 11:00:13 +00:00
|
|
|
<%endif%>
|
|
|
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
2021-05-24 18:24:37 +00:00
|
|
|
<span class="tc-btn-text">
|
|
|
|
<$text text={{$:/language/Buttons/Timestamp/On/Caption}}/>
|
|
|
|
</span>
|
2024-09-10 11:00:13 +00:00
|
|
|
<%endif%>
|
2016-11-23 18:20:31 +00:00
|
|
|
</$button>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal type="match" state="$:/config/TimestampDisable" text="yes">
|
|
|
|
<$button tooltip={{$:/language/Buttons/Timestamp/Off/Hint}} aria-label={{$:/language/Buttons/Timestamp/Off/Caption}} class=<<tv-config-toolbar-class>>>
|
|
|
|
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="no"/>
|
2024-09-10 11:00:13 +00:00
|
|
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
2016-11-23 18:20:31 +00:00
|
|
|
{{$:/core/images/timestamp-off}}
|
2024-09-10 11:00:13 +00:00
|
|
|
<%endif%>
|
|
|
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
2021-05-24 18:24:37 +00:00
|
|
|
<span class="tc-btn-text">
|
|
|
|
<$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/>
|
|
|
|
</span>
|
2024-09-10 11:00:13 +00:00
|
|
|
<%endif%>
|
2016-11-23 18:20:31 +00:00
|
|
|
</$button>
|
2019-10-07 14:13:56 +00:00
|
|
|
</$reveal>
|