docbrown/app/views/admin/display_ads
Ridhwana 172dfef4bf
Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400)
* feat: add a migration that creates a display_to column on the display_ads table

* feat: add an enum for display_to

* feat/WIP: add rough draft of the field to the UI and permit it in the controller

* feat: take into account on whether an ad needs to be shown on logged in or out or both + update cache keys on sign in

* fix: if a user is not signed in then we want to display all and logged out

* fix: display_for spec in model

* feat: add some tests for display_to

* feat: style the label

* feat: show the display_to on the index page

* feat: add a seed for e2e

* chore: force true
2022-09-07 17:21:27 +02:00
..
_form.html.erb Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400) 2022-09-07 17:21:27 +02:00
edit.html.erb Applying Crayons to some Customization pages (#16383) 2022-02-02 21:33:12 +01:00
index.html.erb Add logged-in vs. logged-out targeting option for Display Ads #18390 (#18400) 2022-09-07 17:21:27 +02:00
new.html.erb Applying Crayons to some Customization pages (#16383) 2022-02-02 21:33:12 +01:00