From f705e6d367997f074a8e6a34aa51d6a7c36694b3 Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 4 May 2023 19:30:54 -0400 Subject: [PATCH] DEV: add class names to group directory table (#21393) --- .../discourse/app/templates/group-index.hbs | 37 +++++++++++++------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/group-index.hbs b/app/assets/javascripts/discourse/app/templates/group-index.hbs index 8a2a1d3a20e..18e4b30b172 100644 --- a/app/assets/javascripts/discourse/app/templates/group-index.hbs +++ b/app/assets/javascripts/discourse/app/templates/group-index.hbs @@ -86,17 +86,19 @@ @asc={{this.asc}} @field="username_lower" @labelKey="username" - @class="username" + @class="directory-table__column-header--username username" @automatic={{true}} @colspan="2" /> {{#if this.canManageGroup}} -
+
{{/if}} {{#if this.canManageGroup}} -
+
{{/if}} @@ -129,7 +133,10 @@ {{#each this.model.members as |m|}}
-
+
{{#if this.canManageGroup}} {{#if this.isBulk}} {{#if this.canManageGroup}} -
+
{{#if (or m.owner m.primary)}} {{i18n "groups.members.status"}} @@ -166,7 +175,7 @@
{{/if}} -
+
{{i18n "groups.member_added"}} @@ -178,7 +187,8 @@ class="directory-table__cell{{unless m.last_posted_at '--empty' - }}" + }} + directory-table__cell--last-posted" > {{#if m.last_posted_at}} @@ -190,7 +200,8 @@
{{#if m.last_seen_at}} @@ -202,7 +213,9 @@
{{#if this.canManageGroup}} -
+