equal
deleted
inserted
replaced
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+=\'&__force_display=1\'">%s</a>]' |
166 '[<a href="javascript: window.location.href+=\'&__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)) |