Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
basket
Commits
1db26f490fd1
Commit
75f2756f
authored
Jul 08, 2010
by
Stephanie Marcu
Browse files
remove deprecation warnings cw 3.9
parent
934d3d1e67db
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.py
View file @
1db26f49
...
...
@@ -11,7 +11,7 @@ _ = unicode
from
logilab.mtconverter
import
xml_escape
from
cubicweb
import
Unauthorized
from
cubicweb.selectors
import
i
mplements
from
cubicweb.selectors
import
i
s_instance
from
cubicweb.web
import
uicfg
,
box
,
action
from
cubicweb.web.htmlwidgets
import
BoxWidget
from
cubicweb.web.views
import
primary
...
...
@@ -22,7 +22,7 @@ uicfg.primaryview_section.tag_object_of(('*', 'in_basket', '*'), 'hidden')
class
BasketPrimaryView
(
primary
.
PrimaryView
):
__select__
=
i
mplements
(
'Basket'
,)
__select__
=
i
s_instance
(
'Basket'
,)
entity_name
=
'Basket'
nothing_msg
=
_
(
'nothing in basket'
)
content_msg
=
_
(
'items in this basket'
)
...
...
@@ -154,7 +154,7 @@ class BasketBox(box.UserRQLBoxTemplate):
class
SelectBasketContentAction
(
action
.
Action
):
category
=
'mainactions'
__select__
=
i
mplements
(
'Basket'
)
__select__
=
i
s_instance
(
'Basket'
)
__regid__
=
'select_basket_content'
title
=
_
(
'actions_select_basket_content'
)
...
...
Write
Preview
Supports
Markdown
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