Commit f4bbc9b2 authored by David Douard's avatar David Douard
Browse files

[views] use pictogram (closes #3803725)

parent 350ee3cc2f3f
......@@ -181,8 +181,9 @@ class RegisterLink(basecomponents.HeaderComponent):
context = 'header-right'
def render(self, w):
w(u'[<a class="logout" href="%s">%s</a>]' % (
self._cw.build_url('register'), self._cw._('i18n_register_user')))
self._cw.add_css('cubicweb.pictograms.css')
w(u'<a class="logout icon-user-add" title="%s" href="%s"></a>' % (
self._cw._('i18n_register_user'), self._cw.build_url('register'), ))
## urls #######################################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment