]> git.mxchange.org Git - friendica.git/commitdiff
a little bit template code simplification in posted_date_widget
authorrabuzarus <>
Fri, 20 Oct 2017 13:59:14 +0000 (15:59 +0200)
committerrabuzarus <>
Fri, 20 Oct 2017 13:59:14 +0000 (15:59 +0200)
view/templates/posted_date_widget.tpl

index d7781d4c68f2d76cae7d98a73e5025db91f28178..277ad0e39ce37c1f7e2257a08bd68f354bc71160 100644 (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>