Tweak CTAs
authorChris Ellis <chris@intrbiz.com>
Fri, 4 Jul 2025 10:34:03 +0000 (11:34 +0100)
committerChris Ellis <chris@intrbiz.com>
Fri, 4 Jul 2025 10:34:03 +0000 (11:34 +0100)
templates/base.html
templates/pages/index.html

index 9c0cbc7b46848b7540b1b58693158277078eb364..0c25172bd9b45d570b9f77eaf8686569935d4627 100644 (file)
         <h4>{{ venue.name }}, {{ location }}</h4>
         <nav class="button-bar">
           {% if cfr.open and not cfr.closed %}<a class="button secondary" href="{{ link("registration/") }}">Register Now</a>{% endif %}
-          <a class="button hollow secondary" href="{{ link("about/") }}">Find Out More</a>
+          {% if schedule and schedule.published %}
+            <a class="button hollow secondary" href="{{ link("schedule/") }}">What's On</a>
+          {% else %}
+            <a class="button hollow secondary" href="{{ link("about/") }}">Find Out More</a>
+          {% endif %}
         </nav>
       </div>
     </section>
index b177335af2bc60db8f2969ed8e5a9190660b5598..a9e33456d7f55b9cc30ee61c616fa7d57ee3439c 100644 (file)
@@ -28,6 +28,9 @@
         {% if cfr.open %}
           <nav class="button-bar">
             <a class="button primary" href="{{ link("registration/") }}">Register Now</a>
+            {% if schedule and schedule.published %}
+              <a class="button secondary" href="{{ link("schedule/") }}">What's On</a>
+            {% endif %}
             <!--<a class="button" href="signin.html">Sign In</a>-->
           </nav>
         {% elif cfr.opening_date %}