silverstripe-autotoc 

silverstripe-autotoc Commit Details

Date:2017-12-29 00:49:17 (3 years 21 days ago)
Author:Nicola Fontana
Branch:dev, master
Commit:b038d0a020dabef8859666c866becb16457bc280
Parents: ce1f91c36c41c22623bc92bcbc67808c506a13fd
Message:Move templates in namespaced directories

Changes:
Rtemplates/Includes/Autotoc.ss → templates/eNTiDi/Autotoc/Autotoc.ss
Rtemplates/Includes/AutotocItem.ss → templates/eNTiDi/Autotoc/AutotocItem.ss

File differences

templates/Includes/Autotoc.ss
1
2
3
<% with $Autotoc %><% loop $Children %>
<% include AutotocItem %><% end_loop %>
<% end_with %>
templates/Includes/AutotocItem.ss
1
2
3
4
5
6
<li>
<a href="#$Id.ATT">$Title</a><% if $Children %>
<ul class="nav navlist"><% loop $Children %>
<% include AutotocItem %><% end_loop %>
</ul><% end_if %>
</li>
templates/eNTiDi/Autotoc/Autotoc.ss
1
2
3
<% with $Autotoc %><% loop $Children %>
<% include AutotocItem %><% end_loop %>
<% end_with %>
templates/eNTiDi/Autotoc/AutotocItem.ss
1
2
3
4
5
6
<li>
<a href="#$Id.ATT">$Title</a><% if $Children %>
<ul class="nav navlist"><% loop $Children %>
<% include AutotocItem %><% end_loop %>
</ul><% end_if %>
</li>

Archive Download the corresponding diff file