Add event locations

This commit is contained in:
Oliver Davies 2017-03-14 08:11:30 +00:00
parent e23718a481
commit 8dc17841ce
3 changed files with 23 additions and 14 deletions

View file

@ -145,17 +145,17 @@ youtube:
channel_url: https://www.youtube.com/channel/UCkeK0qF9HHUPQH_fvn4ghqQ
talks_events:
drupal-bristol: { title: Drupal Bristol, website: https://www.drupalbristol.org.uk }
drupalcamp-brighton-2015: { title: DrupalCamp Brighton 2015 }
drupalcamp-bristol-2016: { title: DrupalCamp Bristol 2016, website: https://www.drupalcampbristol.org.uk }
drupalcamp-london-2014: { title: DrupalCamp London 2014 }
drupalcamp-london-2015: { title: DrupalCamp London 2015 }
drupalcamp-london-2016: { title: DrupalCamp London 2016 }
drupalcamp-london-2017: { title: DrupalCamp London 2017, website: https://drupalcamp.london }
drupalcamp-north-2015: { title: DrupalCamp North 2015, website: http://drupalcampnorth.org }
nwdug: { title: NWDUG, website: http://nwdrupal.org.uk }
phpsc-16: { title: PHP South Coast 2016, website: http://2016.phpsouthcoast.co.uk }
phpsw: { title: PHPSW, website: https://phpsw.uk }
swdug: { title: 'SWDUG (South Wales Drupal user group)' }
umbristol: { title: 'umBristol (Bristol Umbraco user group)', website: http://umbristol.co.uk }
udiff: { title: Unified Diff, website: http://unifieddiff.co.uk }
drupal-bristol: { title: Drupal Bristol, website: https://www.drupalbristol.org.uk, location: 'Bristol, UK' }
drupalcamp-brighton-2015: { title: DrupalCamp Brighton 2015, location: 'Brighton, UK' }
drupalcamp-bristol-2016: { title: DrupalCamp Bristol 2016, website: https://www.drupalcampbristol.org.uk, location: 'Bristol, UK' }
drupalcamp-london-2014: { title: DrupalCamp London 2014, location: 'London, UK' }
drupalcamp-london-2015: { title: DrupalCamp London 2015, location: 'London, UK' }
drupalcamp-london-2016: { title: DrupalCamp London 2016, location: 'London, UK' }
drupalcamp-london-2017: { title: DrupalCamp London 2017, website: https://drupalcamp.london, location: 'London, UK' }
drupalcamp-north-2015: { title: DrupalCamp North 2015, website: http://drupalcampnorth.org, location: 'Sunderland, UK' }
nwdug: { title: NWDUG, website: http://nwdrupal.org.uk, location: 'Manchester, UK' }
phpsc-16: { title: PHP South Coast 2016, website: http://2016.phpsouthcoast.co.uk, location: 'Portsmouth, UK' }
phpsw: { title: PHPSW, website: https://phpsw.uk, location: 'Bristol, UK' }
swdug: { title: 'SWDUG (South Wales Drupal user group)', location: 'Cardiff, UK' }
umbristol: { title: 'umBristol (Bristol Umbraco user group)', website: http://umbristol.co.uk, location: 'Bristol, UK' }
udiff: { title: Unified Diff, website: http://unifieddiff.co.uk, location: 'Cardiff, UK' }

View file

@ -16,3 +16,6 @@
.feedback
width: 15%
.event-location
display: block

View file

@ -28,6 +28,12 @@
{% if event.website %}<a href="{{ event.website }}">{% endif %}
{{ event.title }}
{% if event.website %}</a>{% endif %}
{% if event.location %}
<small class="event-location">
{{- event.location -}}
</small>
{% endif %}
</td>
<td class="feedback">