equal
deleted
inserted
replaced
45 w(u'<div id="lazy-%s" cubicweb:loadurl="%s">' % ( |
45 w(u'<div id="lazy-%s" cubicweb:loadurl="%s">' % ( |
46 tabid or vid, xml_escape(self._cw.build_url('json', **urlparams)))) |
46 tabid or vid, xml_escape(self._cw.build_url('json', **urlparams)))) |
47 if show_spinbox: |
47 if show_spinbox: |
48 w(u'<img src="data/loading.gif" id="%s-hole" alt="%s"/>' |
48 w(u'<img src="data/loading.gif" id="%s-hole" alt="%s"/>' |
49 % (tabid or vid, self._cw._('(loading ...)'))) |
49 % (tabid or vid, self._cw._('(loading ...)'))) |
|
50 else: |
|
51 w(u'<div id="%s-hole"></div>' % (tabid or vid)) |
50 w(u'<noscript><p><a class="style: hidden" id="seo-%s" href="%s">%s</a></p></noscript>' |
52 w(u'<noscript><p><a class="style: hidden" id="seo-%s" href="%s">%s</a></p></noscript>' |
51 % (tabid or vid, xml_escape(self._cw.build_url(**urlparams)), xml_escape('%s (%s)') % |
53 % (tabid or vid, xml_escape(self._cw.build_url(**urlparams)), xml_escape('%s (%s)') % |
52 (tabid or vid, self._cw._('follow this link if javascript is deactivated')))) |
54 (tabid or vid, self._cw._('follow this link if javascript is deactivated')))) |
53 w(u'</div>') |
55 w(u'</div>') |
54 self._prepare_bindings(tabid or vid, reloadable) |
56 self._prepare_bindings(tabid or vid, reloadable) |