add an external link to the prereg shortcode

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
archetype-theme-transition
Toshaan Bharvani 3 years ago
parent 735c60794e
commit d510b88396

@ -1,6 +1,8 @@
{{ $eventorganizer := .Get "organizer" }} {{ $eventorganizer := .Get "organizer" }}
{{ $eventcode := .Get "event" }} {{ $eventcode := .Get "event" }}


<div id="registration">

<link rel="stylesheet" type="text/css" href="https://registration.openpower.foundation/{{ $eventorganizer }}/{{ $eventcode }}/widget/v1.css"> <link rel="stylesheet" type="text/css" href="https://registration.openpower.foundation/{{ $eventorganizer }}/{{ $eventcode }}/widget/v1.css">


<div class="pretix-widget-compat" event="https://registration.openpower.foundation/{{ $eventorganizer }}/{{ $eventcode }}/"></div> <div class="pretix-widget-compat" event="https://registration.openpower.foundation/{{ $eventorganizer }}/{{ $eventcode }}/"></div>
@ -13,3 +15,6 @@
</div> </div>
</noscript> </noscript>


<a href="https://registration.openpower.foundation/{{ $eventorganizer }}/{{ $eventcode }}/">External Direct Registration Link <i class="external link alternate icon"></i></a>

</div>

Loading…
Cancel
Save