Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
registration
Commits
50de49f3b41c
Commit
f4bbc9b2
authored
May 05, 2014
by
David Douard
Browse files
[views] use pictogram (closes #3803725)
parent
350ee3cc2f3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.py
View file @
50de49f3
...
...
@@ -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 #######################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment