Commit d302ce9b authored by okhin's avatar okhin
Browse files

Using the photo_url

parent 8a89a8e3
Pipeline #815 passed with stage
in 1 second
...@@ -24,7 +24,6 @@ class Main extends Controller { ...@@ -24,7 +24,6 @@ class Main extends Controller {
$f3->set('group_types', $group_types); $f3->set('group_types', $group_types);
$f3->set('contact', $contacts[$rand_id]); $f3->set('contact', $contacts[$rand_id]);
$f3->set('random', rand(0, 2));
$f3->set('block_content', 'home.html'); $f3->set('block_content', 'home.html');
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
<!-- image à gauche --> <!-- image à gauche -->
<div class="col-md-2 col-sm-4 hidden-xs"> <div class="col-md-2 col-sm-4 hidden-xs">
<img class= "img-responsive img-circle" src="static/img/base{{ @random }}.jpg" width="140px" alt="mep"> <img class= "img-responsive img-circle" src="{{ @contact.photo }}" width="140px" alt="">
<!-- infos --> <!-- infos -->
<div class="visible-sm-block"> <div class="visible-sm-block">
<address style="margin-top:1em;"> <address style="margin-top:1em;">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment