mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
Move recent changes into it's own snippet
This commit is contained in:
parent
78cd134c0a
commit
3e6efd7902
@ -25,7 +25,7 @@ title: $:/templates/MoreSideBar
|
||||
<$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="recentTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[!is[system]!sort[modified]]" itemClass="tw-menu-list-item"/>
|
||||
{{$:/snippets/recentchanges}}
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="tagsTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item" template="$:/templates/TagTemplate"/>
|
||||
|
@ -38,13 +38,7 @@ title: $:/templates/SideBar
|
||||
<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all</$button>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="recentTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[has[modified]!sort[modified]limit[100]eachday[modified]]" itemClass="tw-menu-list-item">
|
||||
<$view field="modified" format="date" template="DDth MMM YYYY"/>
|
||||
<$list filter="[sameday{!!modified}!sort[modified]]" itemClass="tw-menu-list-subitem">
|
||||
<$view field="title" format="link"/>
|
||||
</$list>
|
||||
</$list>
|
||||
|
||||
{{$:/snippets/recentchanges}}
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="toolsTab" qualifyTiddlerTitles="yes">
|
||||
{{$:/templates/ToolsPanel}}
|
||||
|
8
core/wiki/recentchanges.tid
Normal file
8
core/wiki/recentchanges.tid
Normal file
@ -0,0 +1,8 @@
|
||||
title: $:/snippets/recentchanges
|
||||
|
||||
<$list filter="[has[modified]!sort[modified]limit[100]eachday[modified]]" itemClass="tw-menu-list-item">
|
||||
<$view field="modified" format="date" template="DDth MMM YYYY"/>
|
||||
<$list filter="[sameday{!!modified}!sort[modified]]" itemClass="tw-menu-list-subitem">
|
||||
<$view field="title" format="link"/>
|
||||
</$list>
|
||||
</$list>
|
Loading…
Reference in New Issue
Block a user