diff --git a/apps/member/templates/member/profile_trust.html b/apps/member/templates/member/profile_trust.html index 5a65462e..b89f05f6 100644 --- a/apps/member/templates/member/profile_trust.html +++ b/apps/member/templates/member/profile_trust.html @@ -36,7 +36,7 @@ SPDX-License-Identifier: GPL-3.0-or-later

- {% trans "People trusting you" %} + {% trans "People having you as a friend" %}

{% render_table trusted_by %}
diff --git a/apps/note/tables.py b/apps/note/tables.py index 3e6e4f0a..0a0fd4ed 100644 --- a/apps/note/tables.py +++ b/apps/note/tables.py @@ -183,14 +183,15 @@ class TrustedTable(tables.Table): template_name = "django_tables2/bootstrap4.html" show_header = False - trusting = tables.Column(attrs={'td': {'class': 'text-center'}}) + trusting = tables.Column(attrs={ + 'td': {'class': 'text-center', 'width':'100%'}}) trust_back = tables.Column( verbose_name=_("Trust back"), accessor="pk", attrs={ 'td': { - 'class': 'col-sm-1', + 'class': '', 'id': lambda record: "trust_back_" + str(record.pk), } }, @@ -203,10 +204,10 @@ class TrustedTable(tables.Table): return "" val = '' return mark_safe(val)