]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/templates/group_side.tpl
quattro: add unread message count per groups
[friendica.git] / view / theme / quattro / templates / group_side.tpl
index b71f1f1e2fe3be1056ad52ff7497b52a7ba0c89f..620d2de75aae7db2f29982176b8dc7088ce57e50 100644 (file)
@@ -1,8 +1,3 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
 <div id="group-sidebar" class="widget">
        <div class="title tool">
                <h3 class="label">{{$title}}</h3>
@@ -12,7 +7,7 @@
        <div id="sidebar-group-list">
                <ul>
                        {{foreach $groups as $group}}
-                       <li class="tool  {{if $group.selected}}selected{{/if}}">
+                       <li class="tool  {{if $group.selected}}selected{{/if}} group-{{$group.id}}">
                                <a href="{{$group.href}}" class="label">
                                        {{$group.text}}
                                </a>
                                        <a href="{{$group.edit.href}}" class="action"><span class="icon text s10 edit">{{$group.edit.title}}</span></a>
                                {{/if}}
                                {{if $group.cid}}
-                                       <input type="checkbox" 
-                                               class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
+                                       <input type="checkbox"
+                                               class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
                                                onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
                                                {{if $group.ismember}}checked="checked"{{/if}}
                                        />
                                {{/if}}
+                               <span class="notify"></span>
                        </li>
                        {{/foreach}}
                </ul>
        </div>
-</div> 
+</div>