mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 07:28:58 +08:00

* Check if user is a member of a group or if the group has members this is used in the template to conditionally show the relevant markup * Check if user is suspended or if they have a bio this is used in the template to conditionally show the relevant markup * Simplify group-card template * Simplify user-card template * Refactor user and group cards CSS * Check if user is new or if user is staff * Style fixes - round avatar margin - use a more standard margin for buttons - adds lighter font color for new users - makes some suspension text bold (used to be <b> tags in template) - ensures images in group bio are responsive * user card template fixes - adds quotes to link href attributes - wraps some strings in tags for more consistent styling * group card fixes - adds quotes to link href attributes - fixes membership button login action - wraps some strings with tags for consistent styling * closure action fixes * closure action fix * uses core variables instead of new colors and removes unused styles * Uses better property names