Wrap sessionlink in div element to allow styling
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 17 Jul 2018 20:14:09 +0000 (22:14 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 17 Jul 2018 20:16:00 +0000 (22:16 +0200)
The "Back" link on session and speaker display currently takes the
user to the sessionlist, which may not be where the user actually
came from. This wraps the link in a div element such that an event
can hide it with visibility settings in the override CSS in case it
doesn't make sense.

template.jinja/confreg/session.html
template.jinja/confreg/speaker.html

index ac92579d4f98c2a1304376a2d91d1321897ab403..2e0949cb49de2f8cd3b3b4180f1ec306f3c116ce 100644 (file)
@@ -2,7 +2,7 @@
 {%block title%}Conference Schedule - {{conference}}{%endblock%}
 {%block content%}
 <h1>Conference Schedule - {{conference}}</h1>
-<a href="../../">Back</a><br/>
+<div class="sessionlistlink"><a href="../../">Back</a><br/></div>
 
 <h2>{{session.title}}</h2>
 <p>
index 3fd510dfc599f9f5adef788f5c61d014dd181fac..9e2f7b3f86c293334e5ea7c09ff3d5ccd4960df2 100644 (file)
@@ -2,7 +2,7 @@
 {%block title%}Conference Schedule - {{conference}}{%endblock%}
 {%block content%}
 <h1>Conference Schedule - {{conference}}</h1>
-<a href="../../">Back</a><br/>
+<div class="sessionlistlink"><a href="../../">Back</a><br/></div>
 
 {%if speaker.photofile %}
 <img src="../../../../speaker/{{speaker.id}}/photo/" align="right" />