This commit is contained in:
friendica 2014-10-13 15:28:40 -07:00
commit 8710496689
4 changed files with 8 additions and 13 deletions

View File

@ -98,3 +98,6 @@ This document assumes you're an administrator.
Logfile to use for logging auth errors. Used to plug in to server Logfile to use for logging auth errors. Used to plug in to server
side software such as fail2ban. Auth failures are still logged to side software such as fail2ban. Auth failures are still logged to
the main logs as well. the main logs as well.
[b]system > hide_in_statistics[/b]
Tell the red statistics servers to completely hide this hub in hub lists.

View File

@ -81,13 +81,8 @@
/* group */ /* group */
input.group-edit-checkbox {
margin: unset;
height: 1em;
width: 1em;
}
a.group-edit-link { a.group-edit-tool {
z-index: 1; z-index: 1;
} }

View File

@ -986,6 +986,7 @@ function updateConvItems(mode,data) {
$('body').css('cursor', 'wait'); $('body').css('cursor', 'wait');
$.get('contactgroup/' + gid + '/' + cid, function(data) { $.get('contactgroup/' + gid + '/' + cid, function(data) {
$('body').css('cursor', 'auto'); $('body').css('cursor', 'auto');
$('#group-' + gid).toggleClass('icon-check icon-check-empty');
}); });
} }

View File

@ -5,16 +5,12 @@
{{foreach $groups as $group}} {{foreach $groups as $group}}
<li> <li>
{{if $group.cid}} {{if $group.cid}}
<a class="pull-right group-edit-link"> <a class="pull-right group-edit-tool fakelink" onclick="contactgroupChangeMember('{{$group.id}}','{{$group.enc_cid}}'); return true;"/>
<input type="checkbox" <i id="group-{{$group.id}}" class="{{if $group.ismember}}icon-check{{else}}icon-check-empty{{/if}}"></i>
class="{{if $group.selected}}ticked{{else}}unticked {{/if}} group-edit-checkbox"
onclick="contactgroupChangeMember('{{$group.id}}','{{$group.enc_cid}}');return true;"
{{if $group.ismember}}checked="checked"{{/if}}
/>
</a> </a>
{{/if}} {{/if}}
{{if $group.edit}} {{if $group.edit}}
<a class="pull-right group-edit-link" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="group-edit-icon icon-pencil"></i></a> <a class="pull-right group-edit-tool" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="group-edit-icon icon-pencil"></i></a>
{{/if}} {{/if}}
<a{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a> <a{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a>
</li> </li>