# HG changeset patch # User RĂ©mi Cardona # Date 1401704977 -7200 # Node ID d30ff49d4a941db691cb641622cda2fb8b17b29d # Parent e2f96b16c3bd71088cc78a26c630bd671a674f8a [views] Replace poorly named "invisible" class with "list-unstyled" "li.invisible" actually means "hide bullet". Use a reasonable name instead, such as bootstrap's "list-unstyled" class. This patch also changes the DOM element the class is applied to. "li.invisible" had to be enabled on every "li" tag, whereas the "list-unstyled" class only needs to be applied to the parent "ul" element. diff -r e2f96b16c3bd -r d30ff49d4a94 web/data/cubicweb.css --- a/web/data/cubicweb.css Mon Jun 02 12:23:18 2014 +0200 +++ b/web/data/cubicweb.css Mon Jun 02 12:29:37 2014 +0200 @@ -203,9 +203,10 @@ visibility: hidden; } -li.invisible { - background: none; - padding: 0px 0px 1px 1px; +/* copied verbatim from bootstrap 3.0 */ +.list-unstyled { + padding-left: 0; + list-style: none; } .caption { diff -r e2f96b16c3bd -r d30ff49d4a94 web/data/cubicweb.old.css --- a/web/data/cubicweb.old.css Mon Jun 02 12:23:18 2014 +0200 +++ b/web/data/cubicweb.old.css Mon Jun 02 12:29:37 2014 +0200 @@ -219,10 +219,10 @@ visibility: hidden; } -li.invisible { +/* copied verbatim from bootstrap 3.0 */ +.list-unstyled { + padding-left: 0; list-style: none; - background: none; - padding: 0px 0px 1px 1px; } .caption { diff -r e2f96b16c3bd -r d30ff49d4a94 web/views/ajaxedit.py --- a/web/views/ajaxedit.py Mon Jun 02 12:23:18 2014 +0200 +++ b/web/views/ajaxedit.py Mon Jun 02 12:29:37 2014 +0200 @@ -55,9 +55,9 @@ self.w(u'

%s

' % self._cw._('relation %(relname)s of %(ent)s') % {'relname': rschema.display_name(self._cw, role(self)), 'ent': entity.view('incontext')}) - self.w(u'