web/views/boxes.py
branchstable
changeset 1848 981b8dc9e4d0
parent 1752 4b0b912ff5b7
child 1876 b06a797448aa
--- a/web/views/boxes.py	Mon May 18 18:42:12 2009 +0200
+++ b/web/views/boxes.py	Mon May 18 19:48:58 2009 +0200
@@ -99,10 +99,10 @@
         eschema = entity.e_schema
         for rschema, teschema, x in self.add_related_schemas(entity):
             if x == 'subject':
-                label = '%s %s %s %s' % (eschema, rschema, teschema, x)
+                label = 'add %s %s %s %s' % (eschema, rschema, teschema, x)
                 url = self.linkto_url(entity, rschema, teschema, 'object')
             else:
-                label = '%s %s %s %s' % (teschema, rschema, eschema, x)
+                label = 'add %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