Make event titles links to websites

This commit is contained in:
Oliver Davies 2017-03-06 08:28:38 +00:00
parent 05a9d2efc2
commit 87e3cd13a3
2 changed files with 7 additions and 5 deletions

View file

@ -151,11 +151,11 @@ talks_events:
drupalcamp-london-2014: { title: DrupalCamp London 2014, website: https://drupalcamp.london } drupalcamp-london-2014: { title: DrupalCamp London 2014, website: https://drupalcamp.london }
drupalcamp-london-2015: { title: DrupalCamp London 2015, website: https://drupalcamp.london } drupalcamp-london-2015: { title: DrupalCamp London 2015, website: https://drupalcamp.london }
drupalcamp-london-2016: { title: DrupalCamp London 2016, website: https://drupalcamp.london } drupalcamp-london-2016: { title: DrupalCamp London 2016, website: https://drupalcamp.london }
drupalcamp-london-2017: { title: DrupalCamp London 2017 } drupalcamp-london-2017: { title: DrupalCamp London 2017, website: https://drupalcamp.london }
drupalcamp-north-2015: { title: DrupalCamp North 2015 } drupalcamp-north-2015: { title: DrupalCamp North 2015, website: http://drupalcampnorth.org }
nwdug: { title: NWDUG } nwdug: { title: NWDUG, website: http://nwdrupal.org.uk }
phpsc-16: { title: PHP South Coast 2016, website: http://2016.phpsouthcoast.co.uk } phpsc-16: { title: PHP South Coast 2016, website: http://2016.phpsouthcoast.co.uk }
phpsw: { title: PHPSW, website: https://phpsw.uk } phpsw: { title: PHPSW, website: https://phpsw.uk }
swdug: { title: 'SWDUG (South Wales Drupal user group)' } swdug: { title: 'SWDUG (South Wales Drupal user group)' }
umbristol: { title: 'umBristol (Bristol Umbraco user group)' } umbristol: { title: 'umBristol (Bristol Umbraco user group)', website: http://umbristol.co.uk }
udiff: { title: Unified Diff } udiff: { title: Unified Diff, website: http://unifieddiff.co.uk }

View file

@ -22,7 +22,9 @@
{% endif %} {% endif %}
<td> <td>
{% if event.website %}<a href="{{ event.website }}">{% endif %}
{{ event.title }} {{ event.title }}
{% if event.website %}</a>{% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}