Re-order speaker profile page
authorMagnus Hagander <magnus@hagander.net>
Sun, 18 Nov 2018 18:12:15 +0000 (19:12 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 18 Nov 2018 18:12:15 +0000 (19:12 +0100)
With a long list of past conferences, the speaker profile form actually
scrolled off the page. Re-order things so that the speaker profile form
comes at the top, since that's the main reason for the page.

template.jinja/confreg/speakerprofile.html

index 328590f7f8105c2eb50a9f6edc575b33c47f466f..19c656355cb43975c3b481e0178c1def9126f96a 100644 (file)
@@ -3,38 +3,6 @@
 {%block content%}
 <h1>Speaker Profile</h1>
 
-{%if not speaker %}
-<h2>New speaker</h2>
-<p>
-Please fill out the form below to register your speaker profile. Once
-this is done, you will be presented with a list of open call for papers.
-</p>
-{%endif%}
-
-{%if callforpapers%}
-<h2>Call for papers</h2>
-<p>
-The following conferences currently have open call for papers:
-<ul>
-  {%for c in callforpapers%}
-  <li><a href="/events/{{c.urlname}}/callforpapers/">{{c}}</a></li>
-  {%endfor%}
-</ul>
-</p>
-{%endif%}
-
-{%if conferences%}
-<h2>Conferences</h2>
-<p>
-You have submitted talks to the following conferences:
-<ul>
-{%for c in conferences %}
-  <li><a href="/events/{{c.urlname}}/callforpapers/">{{c}}</a></li>
-{%endfor%}
-</ul>
-</p>
-{%endif%}
-
 <h2>Speaker profile</h2>
 <p>
 You can edit the contents of your speaker profile here. Please note that
@@ -72,4 +40,37 @@ you are a speaker.
 <input type="submit" value="Save">
 </form>
 
+{%if not speaker %}
+<h2>New speaker</h2>
+<p>
+Please fill out the form below to register your speaker profile. Once
+this is done, you will be presented with a list of open call for papers.
+</p>
+{%endif%}
+
+{%if callforpapers%}
+<h2>Call for papers</h2>
+<p>
+The following conferences currently have open call for papers:
+<ul>
+  {%for c in callforpapers%}
+  <li><a href="/events/{{c.urlname}}/callforpapers/">{{c}}</a></li>
+  {%endfor%}
+</ul>
+</p>
+{%endif%}
+
+{%if conferences%}
+<h2>Previous conferences</h2>
+<p>
+You have submitted talks to the following conferences:
+<ul>
+{%for c in conferences %}
+  <li><a href="/events/{{c.urlname}}/callforpapers/">{{c}}</a></li>
+{%endfor%}
+</ul>
+</p>
+{%endif%}
+
+
 {%endblock%}