web/views/tabs.py
branchstable
changeset 4727 946a9db5405d
parent 4602 fe5aad04f08b
child 5151 2f70fa8b6854
--- a/web/views/tabs.py	Fri Feb 26 13:56:06 2010 +0100
+++ b/web/views/tabs.py	Fri Feb 26 15:27:55 2010 +0100
@@ -48,7 +48,10 @@
             tabid or vid, xml_escape(self._cw.build_url('json', **urlparams))))
         if show_spinbox:
             w(u'<img src="data/loading.gif" id="%s-hole" alt="%s"/>'
-              % (tabid or vid, self._cw._('loading')))
+              % (tabid or vid, self._cw._('(loading ...)')))
+        w(u'<noscript><p><a class="style: hidden" id="seo-%s" href="%s">%s</a></p></noscript>'
+          % (tabid or vid, xml_escape(self._cw.build_url(**urlparams)), xml_escape('%s (%s)') %
+             (tabid or vid, self._cw._('follow this link if javascript is deactivated'))))
         w(u'</div>')
         self._prepare_bindings(tabid or vid, reloadable)