This theme component allows site admins to show a login prompt that covers the topic contents in specific categories as a way to encourage readers to sign up and log in
Go to file
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
common Use theme translations and fix login-link id (#5) 2022-04-13 09:51:23 -06:00
javascripts/discourse Use theme translations and fix login-link id (#5) 2022-04-13 09:51:23 -06:00
locales Use theme translations and fix login-link id (#5) 2022-04-13 09:51:23 -06:00
test/acceptance Add tests 2022-04-05 19:02:25 -04:00
LICENSE Initial commit 2022-04-05 11:28:13 -06:00
README.md Update README.md 2022-04-05 15:06:33 -06:00
about.json Update about.json (#4) 2022-04-12 10:35:48 -06:00
package.json init commit 2022-04-05 11:34:13 -06:00
settings.yml Use theme translations and fix login-link id (#5) 2022-04-13 09:51:23 -06:00
yarn.lock init commit 2022-04-05 11:34:13 -06:00

README.md

discourse-gated-topics-in-category