web/views/editviews.py
changeset 4294 235fe518b2e4
parent 4278 24736a127bf1
child 4358 9a902670e4ff
equal deleted inserted replaced
4293:0c4bdb3d93fd 4294:235fe518b2e4
   162                     w(u'<li class="invisible">%s<div id="span%s" class="%s">%s</div></li>'
   162                     w(u'<li class="invisible">%s<div id="span%s" class="%s">%s</div></li>'
   163                       % (viewparams[1], viewparams[0], viewparams[2], viewparams[3]))
   163                       % (viewparams[1], viewparams[0], viewparams[2], viewparams[3]))
   164                 if not form.force_display and form.maxrelitems < len(related):
   164                 if not form.force_display and form.maxrelitems < len(related):
   165                     link = (u'<span class="invisible">'
   165                     link = (u'<span class="invisible">'
   166                             '[<a href="javascript: window.location.href+=\'&amp;__force_display=1\'">%s</a>]'
   166                             '[<a href="javascript: window.location.href+=\'&amp;__force_display=1\'">%s</a>]'
   167                             '</span>' % self._cw._('view all'))
   167                             '</span>' % _('view all'))
   168                     w(u'<li class="invisible">%s</li>' % link)
   168                     w(u'<li class="invisible">%s</li>' % link)
   169                 w(u'</ul>')
   169                 w(u'</ul>')
   170                 w(u'</td>')
   170                 w(u'</td>')
   171                 w(u'</tr>')
   171                 w(u'</tr>')
   172         pendings = list(field.restore_pending_inserts(form))
   172         pendings = list(field.restore_pending_inserts(form))