docbrown/app/views
Jeremy Friesen 711f1bb0cd
Let override of ToS and CoC show in onboarding (#16217)
* Let override of ToS and CoC show in onboarding

Prior to this commit any changes to the terms or code of conduct were
not reflected in the onboarding links.

With this commit, I'm leveraging a newly created method that first
checks if there's a page for the given slug.  If there is, use that
page's copy.

To test:

- Overwrite default /terms page on a Forem
- Navigate to /onboarding or sign up as a new user
- Click on Terms of Use link text
- Review Terms of Use

Closes #15296

* Adding spec around not passing a block
2022-01-20 19:45:39 -05:00
..
admin Adds suggested_tags to Onboarding section in Config (#16228) 2022-01-20 11:13:40 -07:00
api/v0 Refactoring to add helper method (#16064) 2022-01-12 11:21:44 -05:00
articles Updated indicators (#16190) 2022-01-20 06:25:10 +01:00
badges views/badges etc i18n (#15021) 2021-10-20 09:36:30 -06:00
collections Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
comments Update remaining Crayons icons (#16100) 2022-01-18 13:41:04 +07:00
credits quote localized strings in credits/purchase embedded script (#15623) 2021-12-01 10:07:55 -06:00
dashboards Updated indicators (#16190) 2022-01-20 06:25:10 +01:00
deep_links various small article elements i18n (#15023) 2021-10-15 11:06:44 +07:00
devise Update the User Invitation email copy (#15501) 2021-11-29 09:29:36 -05:00
email_subscriptions I18nize views misc & non-HTML templates (#15136) 2021-12-08 11:28:16 -05:00
feedback_messages views/feedback_messages i18n (#15038) 2021-10-27 12:34:56 +01:00
fields views/tags etc i18n (#15039) 2021-10-20 08:13:51 -06:00
followings Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
github_repos
homepage
kaminari/internal
layouts Updated indicators (#16190) 2022-01-20 06:25:10 +01:00
liquid_embeds Move work from template to controller (#16092) 2022-01-18 11:21:25 -05:00
liquids Implement Replit Unified Embed (#15992) 2022-01-07 15:00:06 -05:00
listings Spelling fixes to live code (#15670) 2021-12-06 12:11:25 +02:00
mailers Update trusted user welcome email copy with Discord link (#15903) 2021-12-30 12:28:15 -05:00
moderations Updated indicators (#16190) 2022-01-20 06:25:10 +01:00
notifications Update remaining Crayons icons (#16100) 2022-01-18 13:41:04 +07:00
onboardings Let override of ToS and CoC show in onboarding (#16217) 2022-01-20 19:45:39 -05:00
open_search I18nize views misc & non-HTML templates (#15136) 2021-12-08 11:28:16 -05:00
organizations Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
pages Let override of ToS and CoC show in onboarding (#16217) 2022-01-20 19:45:39 -05:00
podcast_episodes Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
podcasts views/podcasts, views/podcast_episodes i18n (#15020) 2021-10-25 14:32:51 +01:00
profile_field_groups Add ProfileFieldGroupsController to API (#10124) 2020-09-03 10:12:53 +07:00
profile_preview_cards Make header fields in profile preview card dynamic (#14454) 2021-08-11 09:34:30 +07:00
reading_list_items views/reading_list_items i18n (#15041) 2021-10-18 11:32:57 -07:00
response_templates
service_worker Revert "Revert "Removed service worker (#12974)" (#13014)" (#13015) 2021-03-17 10:57:56 -04:00
shared Update remaining Crayons icons (#16100) 2022-01-18 13:41:04 +07:00
sidebars views/stories, views/layouts and other homepage i18n (#15083) 2021-11-10 07:38:43 -06:00
sitemaps Fix legacy sitemap logic (#14926) 2021-10-07 08:59:16 -04:00
social_previews Refactoring to add helper method (#16064) 2022-01-12 11:21:44 -05:00
stories Update remaining Crayons icons (#16100) 2022-01-18 13:41:04 +07:00
tags Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
users Updated indicators (#16190) 2022-01-20 06:25:10 +01:00
videos Refactoring questions asked of user (#15762) 2021-12-21 12:45:12 -05:00