Commit e914f230 authored by Gualter's avatar Gualter

Add widget embed code to CfP dashboard

parent 32f8d28b
......@@ -3,6 +3,13 @@
%p=t('cfp.thanks_for_interest', :title => conference.title)
- if cfp_hard_deadline_over?
%p=t('cfp.hard_deadline_over')
%pretix-widget{:event => "https://tickets.degrowth.net/malmo2018/", :voucher => "SEBZ8X38BCDSTSYT"}
%noscript
.pretix-widget
.pretix-widget-info-message
JavaScript is disabled in your browser. To access our ticket shop without JavaScript, please
= succeed "." do
%a{:href => "https://tickets.degrowth.net/malmo2018/", :rel => "noopener", :target => "_blank"} click here
- elsif not conference.in_the_past
- if person.events_in(conference).size > 0
-# if person.availabilities_in(conference).count == 0
......
......@@ -14,8 +14,8 @@
frab
\- Conference Management
= stylesheet_link_tag "application", "admin"
= javascript_include_tag "application", "admin"
= stylesheet_link_tag "application", "admin", "pretix"
= javascript_include_tag "application", "admin", "pretix"
= csrf_meta_tags
%body
.topbar
......
......@@ -41,7 +41,7 @@ en:
forgot_password_button: "Request a new password"
forgot_password_description: "Been here before, but don't remember your password? We know how it is, so please feel free to"
forgot_password_headline: "Forgot your password?"
hard_deadline_over: "Sorry, the deadline for submitting events is over."
hard_deadline_over: "The deadline for submitting events is over."
im_accounts: "Instant messaging accounts"
info_url_description_html: "Unsure what to submit? Read all about the Call for Participation at: %{link}"
information_headline: "Information"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment