This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Joe 6f1badc7c9 REFACTOR: user and group card CSS / template refactor (#6812)
* 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
2019-03-20 10:45:49 +01:00
..
adapters DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
components REFACTOR: user and group card CSS / template refactor (#6812) 2019-03-20 10:45:49 +01:00
controllers FIX: Search spinners hides all results when loading more. 2019-03-20 13:34:56 +08:00
helpers Revert "DEV: Upgrade to Ember 3.7.0 (#6977)" (#7165) 2019-03-13 15:49:47 -03:00
initializers FEATURE: Display notification count in title for logged in users (#7184) 2019-03-18 12:59:47 +00:00
lib Fix typos 2019-03-20 00:06:12 -07:00
mixins REFACTOR: Rename site settings to make them less confusing 2019-03-14 13:40:14 +01:00
models DEV: speed up ember acceptance tests 2019-03-20 16:44:00 +11:00
pre-initializers DEV: s/this._super()/this._super(...arguments) (#6908) 2019-01-19 10:05:51 +01:00
raw-views REFACTOR: topic-list-header-column (#7099) 2019-03-04 14:45:52 +11:00
routes FEATURE: Enforce two-factor authentication. (#6348) 2019-03-15 13:09:37 +02:00
services FEATURE: Support for localized themes (#6848) 2019-01-17 11:46:11 +00:00
templates REFACTOR: user and group card CSS / template refactor (#6812) 2019-03-20 10:45:49 +01:00
widgets FIX: Improve UX for second factor enforcement. (#7207) 2019-03-20 15:40:25 +11:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00