diff --git a/tabbycat/participants/views.py b/tabbycat/participants/views.py index 2805648885c..03dc8ae77f5 100644 --- a/tabbycat/participants/views.py +++ b/tabbycat/participants/views.py @@ -46,7 +46,7 @@ class BaseParticipantsListView(TournamentMixin, VueTableTemplateView): def get_tables(self): adjudicators = self.tournament.adjudicator_set.select_related('institution') - adjs_table = TabbycatTableBuilder(view=self, title=_("Adjudicators"), sort_key="name") + adjs_table = TabbycatTableBuilder(view=self, title=_("Adjudicators"), sort_key="name", admin=self.admin) adjs_table.add_adjudicator_columns(adjudicators) speakers = Speaker.objects.filter(team__tournament=self.tournament).select_related( diff --git a/tabbycat/utils/tables.py b/tabbycat/utils/tables.py index 9a817c8a7ab..c2b3fd35eb7 100644 --- a/tabbycat/utils/tables.py +++ b/tabbycat/utils/tables.py @@ -110,8 +110,8 @@ def add_boolean_column(self, header, data): - `data` must be an iterable of booleans. """ cells = [{ - 'icon': 'check' if datum else '', 'sort': 1 if datum else 2, + 'text': '✔️' if datum else '', } for datum in data] self.add_column(header, cells)