Make the venue phone link work correctly
authorVik Fearing <vik@chouppes.com>
Wed, 2 Aug 2023 12:43:56 +0000 (14:43 +0200)
committerVik Fearing <vik@chouppes.com>
Wed, 2 Aug 2023 12:43:56 +0000 (14:43 +0200)
also remove links from emergency numbers to avoid mistakes

templates/context.json
templates/pages/code-of-conduct.html

index effccaa8103d2006efc272b6db0858b372beed62..409d98213b856dc45f3bcd963b8733486e5c9db5 100644 (file)
@@ -59,6 +59,7 @@
        "url": "https://www.cavendishvenues.co.uk/marylebone-euston-conference-venues/",
        "address": "44 Hallam St, London W1W 6JJ, United Kingdom",
        "phone": "+44 (0)20 7706 7700",
+       "phone_link": "+442077067700",
        "latitude": "51.5207422",
        "longitude": "-0.1435876",
 
index fd0b10ab96389e16a11c056141676a1f798af9dd..f93a2a59716dd353c85a86cb43eae11724cdf48c 100644 (file)
@@ -56,8 +56,8 @@
   {% if coc_phone %}
     <li>Conference CoC Committee phone number: <a href="tel:{{ coc_phone|replace(" ","") }}">{{ coc_phone }}</a>&nbsp;<small>(a single-use number valid only for the duration of the conference)</small></li>
 {% endif %}
-  <li>{{ venue.name }} phone number: <a href="tel:{{ venue.phone|replace(" ","") }}">{{ venue.phone }}</a></li>
-  <li>Emergency services: <a href="tel:999">999</a> or <a href="tel:112">112</a> <small>(Please only use if there is no other alternative)</small></li>
+  <li>{{ venue.name }} phone number: <a href="tel:{{ venue.phone_link }}">{{ venue.phone }}</a></li>
+  <li>Emergency services: 999 or 112 <small>(Please only use if there is no other alternative)</small></li>
 </ul>
 
 <p>