From: Chris Ellis Date: Sat, 14 Sep 2024 11:21:12 +0000 (+0200) Subject: Rework reg dashboard X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=4a4c446521b8b7506d8aaade3ae7bf84707b1f72;p=pgdayuk.git Rework reg dashboard --- diff --git a/templates/confreg/registration_dashboard.html b/templates/confreg/registration_dashboard.html index 83f042b..476f5c6 100644 --- a/templates/confreg/registration_dashboard.html +++ b/templates/confreg/registration_dashboard.html @@ -8,119 +8,124 @@ {%block content%}
- {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %} -

Your Registration - {{conference}}

- -
-

Hi {{reg.firstname}} - Welcome To {{conference}}!

-

- Here you will find all the information you need about {{conference}}. Your registration (for {{reg.firstname}} {{reg.lastname}}) was completed on {{reg.payconfirmedat|datetimeformat("%Y-%m-%d %H:%M")}}. -

-

- Please also check the main event website for public news! -

-
+ +{# staff / volunteer menu #} +{%if reg.is_volunteer or reg.is_checkinprocessor or reg.is_badgescanner or reg.is_tweete%} + - -
- -

Registration Summary

- - +{%endif%} -
+ {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + +
+

Hi {{reg.firstname}} - Welcome To {{conference}}!

- You have a {{reg.regtype}} ticket for {{conference}}. This gives you access to the event on {{reg.access_days}}. + Your registration is made for {{reg.firstname}} {{reg.lastname}} with email address {{reg.email}} which was completed on {{reg.payconfirmedat|datetimeformat("%Y-%m-%d %H:%M")}}. + You have a {{reg.regtype}} ticket for {{conference}}.{%if reg.access_days != 'None' %} This gives you access to the event on {{reg.access_days}}.{% endif %}

- This registration is made for {{reg.firstname}} {{reg.lastname}} with email address {{reg.email}}. + Here you can find all the information you need about {{conference}}. Your registration (for {{reg.firstname}} {{reg.lastname}})

- {%for k,v in displayfields%} -

+

+ Please also check the main event website for public news! +

+
+
Registration Details
+
    + {%for k,v in displayfields%} +
  • {{k}} {{v}} -

    - {%endfor%} -
- - {%if reg.additionaloptions.all()%} -
-
Additional options
-
You are registered for the following additional options: + + {%endfor%} + +
+ {%if reg.additionaloptions.all()%} +
+
Additional Options
+
You are registered for the following additional options: +
    + {%for a in reg.additionaloptions.all()%} +
  • {{a.name}}
  • + {%endfor%} +
+
+
+ {%endif%} + {%if invoices%} +
+
Invoice And Receipts
+

You can download a copy of your invoices and receipts:

    - {%for a in reg.additionaloptions.all()%} -
  • {{a.name}}
  • - {%endfor%} + {%for t,i in invoices%} +
  • {{t}}
  • + {%endfor%}
- -
- {%endif%} - - {%if invoices%} -
-
Invoice and receipts
-

You can download a copy of your invoices and receipts:

-
    - {%for t,i in invoices%} -
  • {{t}}
  • - {%endfor%} -
-

- If you have made any additional orders, you can always find a copy of all invoices and receipts in the invoice section. -

+

+ If you have made any additional orders, you can always find a copy of all invoices and receipts in the invoice section. +

+
+ {%endif%} + {%if scanned_by_sponsors%} +
+

Scanned By Sponsors

+

+ Your badge has been scanned by the following sponsors: +

+
    + {%for s in scanned_by_sponsors %} +
  • {{s.sponsor.displayname}} (at {{s.scannedat|datetimeformat("%Y-%m-%d %H:%M")}})
  • + {%endfor%} +
+
+ {%endif%}
- {%endif%} - - - {%if changeform and conference.allowedit%} -
-
Change Your Registration
+{%if changeform and conference.allowedit%} +
+

Edit Registration

+ {%if changeform.non_field_errors()%}{{changeform.non_field_errors()}}{%endif%}
{{ csrf_input }} @@ -133,7 +138,7 @@ {%endfor%} {%if conference.allowedit %}

If you need to change any other details, please contact the conference organisers, by email: {{conference.contactaddr}} @@ -141,96 +146,80 @@ {%endif%}

- {%endif%} - - {%if scanned_by_sponsors%} -
-

Scanned By Sponsors

-

- Your badge has been scanned by the following sponsors: -

-
    - {%for s in scanned_by_sponsors %} -
  • {{s.sponsor.displayname}} (at {{s.scannedat|datetimeformat("%Y-%m-%d %H:%M")}})
  • - {%endfor%} -
-
- {%endif%} - -
- -{%if messaging%} -
-

Notifications

- -

- You can connect your registration to a specific messaging system, which will allow - us to send you direct notifications, reminders, and other similar information. Depending - on the platform, it may also allow you to participate in conference related chats - (participation is always optional). -

- {%if current_messaging_info %} -

- Your registration is currently configured to send notifications using {{reg.messaging}}. - {%if reg.messaging_copiedfrom %} - This configuration was copied from {{reg.messaging_copiedfrom}}. - {%endif%} -

- {{current_messaging_info}} -
- {{ csrf_input }} - - -
- {%else%} -
- {{ csrf_input}} -
- - -
- -
- {%endif%} -
{%endif%} {%if availableoptions%} -
- -

Additional Options

- {%if pendingadditional%} +
+ +

Additional Options

+ {%if pendingadditional%} +

+ You have a pending order for additional options, which has not yet been + paid. Please pay this invoice as soon as possible to ensure your + registration is completed! +

+ {%set invoice=pendingadditionalinvoice%} + {%include "invoices/userinvoice_spec.html"%} + {%else%} +

{{'system.reg.additionaloptionsintro'|lookup("")}}

+
+ {{ csrf_input }} +
+ {%for o in availableoptions %} + + + {%endfor%} +
+ +
+ {%endif%} +
+{%endif%} + +{%if messaging%} +
+

Notifications

+

- You have a pending order for additional options, which has not yet been - paid. Please pay this invoice as soon as possible to ensure your - registration is completed! + You can connect your registration to a specific messaging system, which will allow + us to send you direct notifications, reminders, and other similar information. Depending + on the platform, it may also allow you to participate in conference related chats + (participation is always optional).

- {%set invoice=pendingadditionalinvoice%} - {%include "invoices/userinvoice_spec.html"%} - {%else%} -

{{'system.reg.additionaloptionsintro'|lookup("")}}

-
+ {%if current_messaging_info %} +

+ Your registration is currently configured to send notifications using {{reg.messaging}}. + {%if reg.messaging_copiedfrom %} + This configuration was copied from {{reg.messaging_copiedfrom}}. + {%endif%} +

+ {{current_messaging_info}} + {{ csrf_input }} + + +
+ {%else%} +
+ {{ csrf_input}}
- {%for o in availableoptions %} - - - {%endfor%} + +
- {%endif%} -
+ {%endif%} +
{%endif%} {%if has_other_multiregs%}