Commit Graph

4 Commits

Author SHA1 Message Date
chapoi beaccbb89a
FEATURE: add tag-based gated content (#13)
* add tags + minor css change

* Update settings.yml

* fix tag filtering

* change var scope

* FIX: Allow for topics with no tags

Topics will sometimes have a null amount of tags. This change allows for those situations.

* DEV: Add tests for gated tags

* Joffrey's idiotmatic way

Co-authored-by: David Taylor <david@taylorhq.com>
Co-authored-by: Jamie Wilson <jamie.wilson@discourse.org>
2022-09-02 15:56:41 +02:00
tshenry 77ad4248e5
Use theme translations and fix login-link id (#5)
* Use theme translations and fix login-link id

Switches over to using theme translations instead of theme settings to manage the text content. This just adds a little extra flexibility for admins if they want to translate the text to other languages.

It also replaces the `login-link` id with `cta-login-link` since the `login-link` id is already used in core. The relevant CSS is added along with it.

* Run prettier
2022-04-13 09:51:23 -06:00
ellaestigoy 0792e6644d add a little bit of styling 2022-04-05 15:03:17 -06:00
Ella E 5ba71c10cc
init commit 2022-04-05 11:34:13 -06:00