friendica-github/view/theme/quattro/templates/circle_side.tpl
Hypolite Petovan 4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00

30 lines
990 B
Smarty

<div id="circle-sidebar" class="widget">
<div class="title tool">
<h3 class="label">{{$title}}</h3>
<a href="circle/new" title="{{$createtext}}" class="action"><span class="icon text s16 add"> {{$add}}</span></a>
</div>
<div id="sidebar-circle-list">
<ul>
{{foreach $circles as $circle}}
<li class="tool {{if $circle.selected}}selected{{/if}} circle-{{$circle.id}}">
<a href="{{$circle.href}}" class="label">
{{$circle.text}}
</a>
{{if $circle.edit}}
<a href="{{$circle.edit.href}}" class="action"><span class="icon text s10 edit">{{$circle.edit.title}}</span></a>
{{/if}}
{{if $circle.cid}}
<input type="checkbox"
class="{{if $circle.selected}}ticked{{else}}unticked {{/if}} action"
onclick="return contactCircleChangeMember(this, '{{$circle.id}}','{{$circle.cid}}');"
{{if $circle.ismember}}checked="checked"{{/if}}
/>
{{/if}}
<span class="notify"></span>
</li>
{{/foreach}}
</ul>
</div>
</div>