Template now collapses

This commit is contained in:
Michael 2020-09-26 18:34:55 +00:00
parent 4a40a40ed1
commit 3553b564b4

View File

@ -1,8 +1,15 @@
<div id="sidebar-community-no-sharer" class="widget">
<span id="sidebar-community-no-sharer-inflated" class="widget fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');">
<h3>{{$title}}</h3>
</span>
<div id="sidebar-community-no-sharer" class="widget">
<span class="fakelink" onclick="openCloseWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');">
<h3>{{$title}}</h3>
</span>
<ul class="sidebar-community-no-sharer-ul">
<li role="menuitem" class="sidebar-community-no-sharer-li{{if !$no_sharer}} selected{{/if}}"><a href="community/{{$path_all}}">{{$all}}</a></li>
<li role="menuitem" class="sidebar-community-no-sharer-li{{if $no_sharer}} selected{{/if}}"><a href="community/{{$path_no_sharer}}">{{$no_sharer_label}}</a></li>
</ul>
</div>
<script>
initWidget('sidebar-community-no-sharer', 'sidebar-community-no-sharer-inflated');
</script>