1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 19:10:28 +00:00

Remove dependency on core timeline macro by overriding timeline-title() instead

In application of #1221
This commit is contained in:
Xavier Cazin 2014-12-12 14:44:47 +01:00
parent d07c45dbca
commit c15f978ac1
2 changed files with 11 additions and 26 deletions

View File

@ -1,26 +0,0 @@
created: 20141119224138888
modified: 20141203143841166
tags: $:/tags/Macro
title: $:/core/macros/timeline
type: text/vnd.tiddlywiki
\define timeline(limit:"100",format:"DDth MMM YYYY",subfilter:"",dateField:"modified")
<div class="tc-timeline">
<$list filter="[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]">
<div class="tc-menu-list-item">
<$view field="$dateField$" format="date" template="$format$"/>
<$list filter="[sameday{!!$dateField$}!is[system]$subfilter$!sort[$dateField$]]">
<div class="tc-menu-list-subitem">
<$link to={{!!title}}>
<$transclude field="caption">
<$view field="fr-title">
<$view field="title"/>
</$view>
</$transclude>
</$link>
</div>
</$list>
</div>
</$list>
</div>
\end

View File

@ -0,0 +1,11 @@
created: 20141212105632762
modified: 20141212105822388
tags: $:/tags/Macro
title: $:/editions/fr-FR/Macros/timeline-title
type: text/vnd.tiddlywiki
\define timeline-title()
<$view field="fr-title">
<$view field="title"/>
</$view>
\end