]> git.parisson.com Git - mezzo.git/commitdiff
align photo
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 29 Feb 2016 15:47:11 +0000 (16:47 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 29 Feb 2016 15:47:11 +0000 (16:47 +0100)
app/festival/templates/festival/artist_detail.html

index 4d4d0218f2dc682559ec51f0a405feb2cc8783d5..b883084d3bc94529de7a20e9be166729f8304030 100644 (file)
@@ -9,15 +9,18 @@
 </div>
 
 <div class="artist-bio">
- {{ artist.bio|safe }}
- <img src="{{ MEDIA_URL }}/{{ artist.photo }}" />
+ <p>
+  <img style="float: {{ artist.photo_alignment }}; margin: 0px 15px 15px 0px;" src="{{ MEDIA_URL }}/{{ artist.photo }}" width="50%" />
+  {{ artist.bio|safe }}
+  <br style="clear: both;" />
+ </p>
 </div>
 
 <div class="artist-events">
   <h2>{% trans 'Events' %}</h2>
-    {% for event in artist.events.all %}
-        {{ event.title }}
-    {% endfor %}
+ <h2>{% trans 'Events' %}</h2>
+  {% for event in artist.events.all %}
+   {{ event.title }}
+  {% endfor %}
 </div>
 
 {% endblock %}