equal
deleted
inserted
replaced
1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
221 |
221 |
222 def _build_delete_zone(self): |
222 def _build_delete_zone(self): |
223 return self._build_zone(self._deletezone, self._deletemsg, self._deletelogo) |
223 return self._build_zone(self._deletezone, self._deletemsg, self._deletelogo) |
224 |
224 |
225 def _build_add_zone(self): |
225 def _build_add_zone(self): |
226 return self._build_zone(self._addzone, self._addzonemsg, self._addlogo) |
226 return self._build_zone(self._addzone, self._addmsg, self._addlogo) |
227 |
227 |
228 def _build_divid(self, rtype, role, entity_eid): |
228 def _build_divid(self, rtype, role, entity_eid): |
229 """ builds an id for the root div of a reledit widget """ |
229 """ builds an id for the root div of a reledit widget """ |
230 return '%s-%s-%s' % (rtype, role, entity_eid) |
230 return '%s-%s-%s' % (rtype, role, entity_eid) |
231 |
231 |