Commits

Florent Cayré committed eec8997

improve translation manage view

  • Participants
  • Parent commits 71f2ffe

Comments (0)

Files changed (1)

             infos = LANGS_BY_EID[typed_eid(eid)]
             href = entity.absolute_url(vid='translate_entity',
                                        lang_code=infos['code'])
-            html.append(tags.a(infos['name'], href=href))
+            html.append(u'%s (%s)' % (xml_escape(infos['name']),
+                                      tags.a(self._cw._('edit'), href=href)))
         return ', '.join(html)
 
     def call(self, *args, **kwargs):