0001-manager-remove-row-link-in-user-roles-table-55839.patch
src/authentic2/manager/tables.py | ||
---|---|---|
174 | 174 | |
175 | 175 |
class Meta: |
176 | 176 |
model = get_role_model() |
177 |
attrs = {'class': 'main', 'id': 'role-table'} |
|
177 |
attrs = {'class': 'main plaintable', 'id': 'role-table'}
|
|
178 | 178 |
fields = ('name', 'ou') |
179 | 179 |
empty_text = _('None') |
180 | 180 |
order_by = ('name',) |
... | ... | |
237 | 237 | |
238 | 238 |
class Meta: |
239 | 239 |
model = OIDCAuthorization |
240 |
attrs = {'class': 'main', 'id': 'user-authorizations-table'} |
|
240 |
attrs = {'class': 'main plaintable', 'id': 'user-authorizations-table'}
|
|
241 | 241 |
fields = ('client', 'created', 'expired') |
242 | 242 |
empty_text = _('This user has not granted profile data access to any service yet.') |
src/authentic2/manager/templates/authentic2/manager/user_ou_roles.html | ||
---|---|---|
40 | 40 |
{% endblock %} |
41 | 41 | |
42 | 42 |
{% block main %} |
43 |
{% with row_link=1 url_name="a2-manager-role-members" %}
|
|
43 |
{% with row_link=0 %}
|
|
44 | 44 |
{% render_table table "authentic2/manager/table.html" %} |
45 | 45 |
{% endwith %} |
46 | 46 |
{% endblock %} |
47 |
- |