client/app/slides/slides.html
changeset 31 8d016c195d79
parent 26 c7dfe7185ef7
child 37 81ed4fbb1a64
--- a/client/app/slides/slides.html	Mon Mar 23 17:05:45 2015 +0100
+++ b/client/app/slides/slides.html	Mon Mar 23 17:07:36 2015 +0100
@@ -2,15 +2,15 @@
 <div class="carousel-holder row">
 	<div class="row">
 		<div class="col-md-6 col-md-offset-1">
-			<img ng-src="{{ slide.metas_dict.images }}" style="margin: auto;">
+			<img ng-src="{{ slide.details.firstImg }}" style="margin: auto;">
 		</div>
 		<div class="carousel-caption col-md-4">
 			<slide-editor index="{{$index}}"></slide-editor>
 			<hr />
 			<h4 class="original-text">{{ slide.metas_dict.name }}</h4>
 			<p class="original-text">{{ slide.metas_dict.description }}</p>
-			<p><small><strong>Titre&nbsp;:</strong> {{ slide.details.title }}</small></p>
-			<p><small><strong>Description&nbsp;:</strong> {{ slide.details.description }}</small></p>
+			<p><strong>Titre&nbsp;:</strong><small>{{ slide.details.title }}</small></p>
+			<p><strong>Description&nbsp;:</strong><small ng-bind-html="slide.details.description"></small></p>
 		</div>
 	</div>
 </div>