Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Add dynamic CTA buttons to event hompages #162

Closed
mattstratton opened this issue Feb 2, 2017 · 2 comments
Closed

Add dynamic CTA buttons to event hompages #162

mattstratton opened this issue Feb 2, 2017 · 2 comments

Comments

@mattstratton
Copy link
Member

For example, "Register" should only show up if registration is enabled, submit, etc, and follow only if a twitter account is set.

@mattstratton mattstratton added this to the v1.0 Release milestone Feb 2, 2017
@mattstratton
Copy link
Member Author

idea - make a new element called registration_open and if it's set to true, that enables the register menu with the default link
if the optional link registration_link is enabled, then the menu uses that (and the CTA button too)

@mattstratton
Copy link
Member Author

This depends on the following elements in the datafile:

event_twitter: 'devopsdays (without the @ sign)
registration_open: 'false'
registration_link: "" (this is an optional link if they want off-site registration)
cfp_open: "false"
cfp_link: ""

Everything works if these elements don't exist; the CTA buttons just don't display.

Connected to #167

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant