Logo now from spaceAPI

master
Tezza 2015-02-26 23:10:33 +01:00
parent b53dae6b6a
commit d252f18058
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
$Level2[ 'people' ] = $spaceAPI[ 'sensors' ][ 'people_now_present' ][ 0 ][ 'value' ];
$Level2[ 'address' ] = $spaceAPI[ 'location' ][ 'address' ];
$Level2[ 'phone' ] = $spaceAPI[ 'contact' ][ 'phone' ];
$Level2[ 'logo' ] = $spaceAPI[ 'logo' ];
return $Level2;

View File

@ -22,7 +22,7 @@
<img src="{{ event.image }}" />
</div>
{% else %}
<img src="https://wiki.hackerspace.lu/w/images/8/86/Syn2catLOGO.png" />
<img src="{{ level2.logo }}" />
{% endif %}
<h4>{{ event.date }}</h4>
{% if event.location is defined %}