UX: add class to distinguish specific moderator categories on about page

UX: add class to distinguish specific moderator categories on about page

diff --git a/app/assets/javascripts/discourse/templates/about.hbs b/app/assets/javascripts/discourse/templates/about.hbs
index 5abd436..e9be344 100644
--- a/app/assets/javascripts/discourse/templates/about.hbs
+++ b/app/assets/javascripts/discourse/templates/about.hbs
@@ -59,7 +59,7 @@
 
       {{#if model.category_moderators.length}}
         {{#each model.category_moderators as |cm|}}
-          <section class='about category-moderators'>
+          <section class='about category-moderators moderators-{{cm.category.slug}}'>
             <h3>{{category-link cm.category}}{{i18n "about.moderators"}}</h3>
             <div class='users'>
               {{#each cm.moderators as |m|}}

GitHub sha: 75610443

1 Like