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>
</li>
{{/foreach}}
{{if $cutoff}}
</ul>
</div>
<ul class="datebrowse-ul">
<li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}</li>
</ul>
{{else}}
</ul>
{{if $cutoff}}
</div>
<ul class="datebrowse-ul">
<li onclick="showHideDates(); return false;" id="posted-date-collapse" class="fakelink tool">{{$showmore}}</li>
</ul>
{{/if}}
</div>