a little bit template code simplification in posted_date_widget

This commit is contained in:
rabuzarus 2017-10-20 15:59:14 +02:00
parent 8167e75e6a
commit 781c4986c6

View file

@ -40,13 +40,11 @@ function dateSubmit(dateurl) {
</ul> </ul>
</li> </li>
{{/foreach}} {{/foreach}}
{{if $cutoff}}
</ul> </ul>
{{if $cutoff}}
</div> </div>
<ul class="datebrowse-ul"> <ul class="datebrowse-ul">
<li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}</li> <li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}</li>
</ul> </ul>
{{else}}
</ul>
{{/if}} {{/if}}
</div> </div>