'add' is already added before tls-sprint
authorGraziella Toutoungis <graziella.toutoungis@logilab.fr>
Tue, 05 May 2009 09:59:01 +0200
branchtls-sprint
changeset 1672 2406667c90d6
parent 1671 10608b9e79cb
child 1680 39860636e184
'add' is already added before
web/views/boxes.py
--- a/web/views/boxes.py	Tue May 05 08:58:35 2009 +0200
+++ b/web/views/boxes.py	Tue May 05 09:59:01 2009 +0200
@@ -136,10 +136,10 @@
         eschema = entity.e_schema
         for rschema, teschema, x in self.add_related_schemas(entity):
             if x == 'subject':
-                label = 'add %s %s %s %s' % (eschema, rschema, teschema, x)
+                label = '%s %s %s %s' % (eschema, rschema, teschema, x)
                 url = self.linkto_url(entity, rschema, teschema, 'object')
             else:
-                label = 'add %s %s %s %s' % (teschema, rschema, eschema, x)
+                label = '%s %s %s %s' % (teschema, rschema, eschema, x)
                 url = self.linkto_url(entity, rschema, teschema, 'subject')
             actions.append(self.mk_action(_(label), url))
         return actions