[FIX] website_forum: display it as some kind of table for better display

This commit is contained in:
Martin Trigaux 2014-05-14 18:31:16 +02:00
parent 2e0e242c82
commit 4e2fe7998e
1 changed files with 6 additions and 3 deletions

View File

@ -703,8 +703,11 @@
<template id="users">
<t t-call="website_forum.header">
<div class="row">
<div t-foreach="users" t-as="user" class="col-sm-4">
<t t-foreach="users" t-as="user">
<t t-if="user_index % 3 == 0">
<div class="row"></div>
</t>
<div class="col-sm-4">
<img class="pull-left img img-circle img-avatar" t-attf-src="/forum/user/#{user.id}/avatar"/>
<div>
<a t-attf-href="/forum/#{slug(forum)}/user/#{user.id}" t-field="user.name"/>
@ -725,7 +728,7 @@
<t t-raw="0"/>
</div>
</div>
</div>
</t>
<div class="pull-left">
<t t-call="website.pager"/>
</div>