Reword reg dash
authorChris Ellis <chris@intrbiz.com>
Thu, 12 Sep 2024 13:19:08 +0000 (14:19 +0100)
committerChris Ellis <chris@intrbiz.com>
Thu, 12 Sep 2024 13:19:08 +0000 (14:19 +0100)
templates/confreg/registration_dashboard.html

index 2dd945c3b54669ef02162cf121d38462b263863a..7fcaf978755c868c54b4a0eb9331fef597d9537d 100644 (file)
@@ -9,13 +9,9 @@
 <div class="confsys">
 
   {% if messages %}
-    <div class="banner messages">
-      <ul class="regdashboardmessage">
-          {% for message in messages %}
-          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
-          {% endfor %}
-      </ul>
-    </div>
+    {% for message in messages %}
+      <div class="banner message {% if message.tags %}{{ message.tags }}{% endif %}" >{{ message }}</div>
+    {% endfor %}
   {% endif %}
 
   <h1>Your Registration<span class="confheader"> - {{conference}}</span></h1>
     <h4>Hi {{reg.firstname}}</h4>
     <h5>Welcome To {{conference}}!</h5>
     <p>
-      Your registration (for {{reg.firstname}} {{reg.lastname}}) was completed on {{reg.payconfirmedat|datetimeformat("%Y-%m-%d %H:%M")}}.
+      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")}}.
     </p>
     <p>
-      Here you will find all the information you need about {{conference}}.  Please also check the main <a href="{{conference.confurl}}">event website</a> for public news!
+      Please also check the main <a href="{{conference.confurl}}">event website</a> for public news!
     </p>
   </div>
   
     {%endif%}
   </nav>
 
-{%if has_other_multiregs%}
-<div class="card">
-  <h4>Other Registrations</h4>
-  <p>You are managing registrations for other people who are attending the event.</p>
-  <nav class="button-bar small">
-    <a class="button primary" href="{{redir_root}}other/">Manage</a>
-  </nav>
-</div>
-{%endif%}
-
-<div id="mails" class="card">
-  <a name="mails"></a>
-  <h4>Information emails</h4>
-  <p>
-  The following emails have been sent to attendees of this conference.
-  Any future messages sent will both be sent to <i>{{reg.email}}</i> and
-  listed here. To ensure that messages are not filtered, we suggest that you
-  white-list the address <i style="hyphens:none;">{{conference.contactaddr}}</i> in your
-  spamfilters.
-  </p>
-  <ul>
-  {%if not mails%}
-    <li>No emails have been sent yet</li>
-  {%else%}
-    {%for m in mails%}
-      <li><a href="{{redir_root}}mail/{{m.id}}/">{{m.subject}}</a> (<i>sent {{m.sentat|datetimeformat("%Y-%m-%d %H:%M")}}</i>)</li>
-    {%endfor%}
-  {%endif%}
-  </ul>
-</div>
-
-{%if wikipages%}
-<div id="wiki" class="card">
-  <a name="wiki"></a>
-  <h2>Wiki pages</h2>
-  <ul>
-  {%for p in wikipages%}
-  <li><a href="{{redir_root}}wiki/{{p.url}}/">{{p.title}}</a> (last modified {{p.publishedat|datetimeformat("%Y-%m-%d %H:%M")}})</li>
-  {%endfor%}
-  </ul>
-  {%endif%}
-
-  {%if signups%}
-  <a name="signups"></a>
-  <h2>Signups</h2>
-  <ul>
-  {%for s in signups%}
-  <li><a href="{{redir_root}}signup/{{s.title|slugify}}-{{s.id}}/">{{s.title}}</a>{%if s.closed%} (closed){%elif s.deadline%} (closes {{s.deadline|datetimeformat("%Y-%m-%d %H:%M")}}){%endif%}{%if s.savedat%} - you responded on {{s.savedat|datetimeformat("%Y-%m-%d %H:%M")}}{%endif%}</li>
-  {%endfor%}
-  </ul>
-</div>
-{%endif%}
-
 <div id="summary" class="card">
   <a name="summary"></a>
   <h4>Registration summary</h4>
-  <dl>
-  <dt>Registration type</dt>
-  <dd>Your registration type is <i>{{reg.regtype}}</i>.
-  {%if reg.access_days %}
-  <dt>Access days</dt>
-  <dd>Your registration gives you access to the conference on {{reg.access_days}}.</dd>
-  {%endif%}
-  {%if conference.tickets %}
-  <dt>Ticket</dt>
-  <dd>
+  
+  <nav class="button-bar small">
+    {%if conference.tickets %}
+      <a href="button primary" href="{{ redir_root }}viewticket/">View Ticket</a>
+      <a href="button secondary" href="{{ redir_root }}ticket/">Download Ticket</a>
+    {%endif%}
+  </nav>
+  
+  <div class="subintro">
     <p>
-      You can <a href="{{ redir_root }}viewticket/">view your ticket here</a> or
-      <a href="{{ redir_root }}ticket/">download a PDF version</a> to bring to
-      the conference.
+      You have a <span class="regtype">{{reg.regtype}}</span> ticket for {{conference}}.  This gives you access to the event on {{reg.access_days}}.
     </p>
-  </dd>
-  {%endif%}
-  <dt>Registration details</dt>
-  <dd>
     <p>
       This registration is made for <i>{{reg.firstname}} {{reg.lastname}}</i> with email address <i>{{reg.email}}</i>.
     </p>
-    <ul>
-  {%for k,v in displayfields%}
-      <li>{{k}}: {{v}}</li>
-  {%endfor%}
-    </ul>
-  </dd>
+    {%for k,v in displayfields%}
+        <p>
+          <span class="reg-prop-name">{{k}}</span> <span class="reg-prop-value">{{v}}</span>
+        </p>
+    {%endfor%}
+  </div>
 
   {%if reg.additionaloptions.all()%}
-  <dt>Additional options</dt>
-  <dd>You are registered for the following additional options:
-    <ul>
-  {%for a in reg.additionaloptions.all()%}
-      <li>{{a.name}}</li>
-  {%endfor%}
-    </ul>
-  </dd>
+  <div class="subsection">
+    <h5>Additional options</h5>
+    <dd>You are registered for the following additional options:
+      <ul>
+    {%for a in reg.additionaloptions.all()%}
+        <li>{{a.name}}</li>
+    {%endfor%}
+      </ul>
+    </dd>
+  </div>
   {%endif%}
 
   {%if invoices%}
-  <dt>Invoice and receipts</dt>
-  <dd>You can download a copy of your invoices and receipts:<ul>
-  {%for t,i in invoices%}
-    <li><a href="/invoices/{{i.id}}/{{i.recipient_secret}}/">{{t}}</a></li>
-  {%endfor%}
-  </ul>
-  If you have made any additional orders, you can always find a copy of all
-  invoices and receipts in the <a href="/invoices/">invoice section</a>.
-  </dd>
+  <div class="subsection">
+    <h5>Invoice and receipts</h5>
+    <p>You can download a copy of your invoices and receipts:</p>
+    <ul>
+    {%for t,i in invoices%}
+      <li><a href="/invoices/{{i.id}}/{{i.recipient_secret}}/">{{t}}</a></li>
+    {%endfor%}
+    </ul>
+    <p>
+      If you have made any additional orders, you can always find a copy of all invoices and receipts in the <a href="/invoices/">invoice section</a>.
+    </p>
+  </div>
   {%endif%}
 
   </dl>
 
-  {%if changeform%}
+  {%if changeform and conference.allowedit%}
   <div class="subsection">
-    <h5>Change your registration</h5>
-    {% if conference.allowedit %}
-    <p>
-      A limited number of fields on your registration can be changed. If you need to change anything other than this, please contact the conference organizers.
-    </p>
-    {%else%}
-    <p>
-      Your registration can no longer be modified.
-    </p>
-    {%endif%}
+    <h5>Change Your Registration</h5>
     {%if changeform.non_field_errors()%}{{changeform.non_field_errors()}}{%endif%}
     <form method="post" action="{{redir_root}}change/">
       {{ csrf_input }}
       {%endfor%}
       {%if conference.allowedit %}
       <nav class="button-bar small">
-        <input type="submit" value="Update registration">
+        <input type="submit" value="Update Registration">
       </nav>
+      <p class="warning">
+        If you need to change any other details, please contact the conference organisers, by email: <span class="contact-email">{{conference.contactaddr}}</span>
+      </p>
       {%endif%}
     </form>
   </div>
     </p>
     <ul>
     {%for s in scanned_by_sponsors %}
-    <li>{{s.sponsor.displayname}} (at {{s.scannedat|datetimeformat("%Y-%m-%d %H:%M")}})</li>
+      <li><span class="scanned-by-name">{{s.sponsor.displayname}}</span> <span class="scanned-by-at">(at {{s.scannedat|datetimeformat("%Y-%m-%d %H:%M")}})</span></li>
     {%endfor%}
     </ul>
   </div>
       </select>
     </div>
     <nav class="button-bar small">
-      <input type="submit" value="Configure notifications">
+      <input type="submit" value="Configure Notifications">
     </nav>
   </form>
   {%endif%}
 {%if availableoptions%}
 <div id="options" class="card">
   <a name="options"></a>
-  <h4>Additional options</h4>
+  <h4>Additional Options</h4>
   {%if pendingadditional%}
     <p>
     You have a pending order for additional options, which has not yet been
         {%endfor%}
       </div>
       <nav class="button-bar small">
-        <input type="submit" value="Register for additional options">
+        <input type="submit" value="Add Options">
       </nav>
     </form>
   {%endif%}
 </div>
 {%endif%}
 
+{%if has_other_multiregs%}
+<div class="card">
+  <h4>Other Registrations</h4>
+  <p>You are managing registrations for other people who are attending the event.</p>
+  <nav class="button-bar small">
+    <a class="button primary" href="{{redir_root}}other/">Manage</a>
+  </nav>
+</div>
+{%endif%}
+
+<div id="mails" class="card">
+  <a name="mails"></a>
+  <h4>Information Emails</h4>
+  <p>
+  The following emails have been sent to attendees of this conference.
+  Any future messages sent will both be sent to <i>{{reg.email}}</i> and
+  listed here. To ensure that messages are not filtered, we suggest that you
+  white-list the address <i style="hyphens:none;">{{conference.contactaddr}}</i> in your
+  spamfilters.
+  </p>
+  <ul>
+  {%if not mails%}
+    <li>No emails have been sent yet</li>
+  {%else%}
+    {%for m in mails%}
+      <li><a href="{{redir_root}}mail/{{m.id}}/">{{m.subject}}</a> (<i>sent {{m.sentat|datetimeformat("%Y-%m-%d %H:%M")}}</i>)</li>
+    {%endfor%}
+  {%endif%}
+  </ul>
+</div>
+
+{%if wikipages%}
+<div id="wiki" class="card">
+  <a name="wiki"></a>
+  <h2>Wiki Pages</h2>
+  <ul>
+  {%for p in wikipages%}
+  <li><a href="{{redir_root}}wiki/{{p.url}}/">{{p.title}}</a> (last modified {{p.publishedat|datetimeformat("%Y-%m-%d %H:%M")}})</li>
+  {%endfor%}
+  </ul>
+  {%endif%}
+
+  {%if signups%}
+  <a name="signups"></a>
+  <h2>Signups</h2>
+  <ul>
+  {%for s in signups%}
+  <li><a href="{{redir_root}}signup/{{s.title|slugify}}-{{s.id}}/">{{s.title}}</a>{%if s.closed%} (closed){%elif s.deadline%} (closes {{s.deadline|datetimeformat("%Y-%m-%d %H:%M")}}){%endif%}{%if s.savedat%} - you responded on {{s.savedat|datetimeformat("%Y-%m-%d %H:%M")}}{%endif%}</li>
+  {%endfor%}
+  </ul>
+</div>
+{%endif%}
+
 </div>
 {%endblock%}