mirror of https://github.com/jumpserver/jumpserver
修改bug
parent
3f0e8fcc2d
commit
90f078a0f8
|
@ -47,6 +47,7 @@ def bool2str(value):
|
|||
else:
|
||||
return u'鍚'
|
||||
|
||||
|
||||
@register.filter(name='perm_count')
|
||||
def perm_count(user_id):
|
||||
user = User.objects.get(int(user_id))
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for group in contacts.object_list %}
|
||||
{% for user in contacts.object_list %}
|
||||
<tr class="gradeX">
|
||||
<td class="text-center"> {{ user.username }} </td>
|
||||
<td class="text-center"> {{ user.name }} </td>
|
||||
|
|
Loading鈥
Reference in New Issue