[MERGE] [FIX] Merged branch holding some fixes for the newly

(badly ?) introduced module website_mail_group: subscribe / unsubscribe now working,
pager now working. Some redesign will probably land in trunk if we have time
as the current layout is not very efficient.

bzr revid: tde@openerp.com-20140319133309-33vni7479w5q5tu0
This commit is contained in:
Thibault Delavallée 2014-03-19 14:33:09 +01:00
commit 10babec89d
2 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ class MailGroup(http.Controller):
domain.append(('parent_id','=',False))
thread_count = thread_obj.search_count(cr, uid, domain, context=context)
pager = request.website.pager(
url='/groups/%s/%s' % (group.id, mode),
url='/groups/%s/%s/' % (group.id, mode),
total=thread_count,
page=page,
step=self._thread_per_page,

View File

@ -45,13 +45,13 @@
<t t-call="website.layout">
<section class="container">
<div class="row mt8">
<div class="col-md-5">
<ol class="breadcrumb mb8">
<div class="col-md-5 mt16">
<ol class="breadcrumb">
<li><a href="/groups">Mailing Lists</a></li>
<li class="active" t-esc="group.name"/>
</ol>
</div>
<div class="col-md-5">
<div class="col-md-5 pull-right">
<t t-call="website.pager"/>
</div>
</div>