missed a little bit of refactoring
authorVik Fearing <vik@chouppes.com>
Wed, 12 Jul 2023 21:10:02 +0000 (23:10 +0200)
committerVik Fearing <vik@chouppes.com>
Wed, 12 Jul 2023 21:10:02 +0000 (23:10 +0200)
templates/base.html
templates/pages/sponsors.html

index f4ad1d028015e9bb7959fca30455d0caee318f5d..37a75b533a536e7676988310387aa9a4e4b18b47 100644 (file)
             <a href="{% if s.hasdescription %}{{ link("sponsors/#" + c.name|slugify) }}{% else %}{{ c.url }}{% endif %}">
               <img src="{{ media("img/logos/" + c.img) }}" alt="{{ c.name }}">
             </a>
-            {% if c.hasinterview %}
+            {% if c.interview %}
             <br>
             <small>
               <a href="{{ link("sponsor-interviews/" + c.name|slugify + "/") }}"><i class="fa-solid fa-handshake-angle"></i>&nbsp;Interview with {{ c.name }}</a>
index 76048e6ecabe37eb5f2da454526e8a4fc40c3ca8..ba2f65f5e6393b3dfcabff5324460ec022c5deed 100644 (file)
@@ -37,7 +37,7 @@
     {% if c.description %}<p>{{ c.description }}</p>{% endif %}
   {% endif %}
   {% if c.url %}<p><a href="{{ c.url }}">{{ c.url }}</a></p>{% endif %}
-  {% if c.hasinterview %}
+  {% if c.interview %}
     <p class="interview-link"><a href="{{ link("sponsor-interviews/" + c.name|slugify + "/") }}" data-company-name="{{ c.name }}"><i class="fa-solid fa-handshake-angle"></i>Interview</a></p>
   {% endif %}
 </div>