Modified content links rendering in site tree view
authorThierry Florac <tflorac@ulthar.net>
Fri, 19 Mar 2021 18:12:07 +0100
changeset 1462 8bab619392d1
parent 1461 d2857c1db67e
child 1463 494f862afeb6
Modified content links rendering in site tree view
src/pyams_content/shared/site/zmi/link.py
--- a/src/pyams_content/shared/site/zmi/link.py	Wed Feb 10 13:17:30 2021 +0100
+++ b/src/pyams_content/shared/site/zmi/link.py	Fri Mar 19 18:12:07 2021 +0100
@@ -157,7 +157,7 @@
             target = self.context.get_target()
             if target is not None:
                 title = get_object_name(target, self.request, self.view)
-        return '<i class="fa fa-fw fa-external-link-square fa-rotate-90"></i>{title}'.format(
+        return '{title} <i class="fa fa-fw fa-external-link-square fa-rotate-90"></i>'.format(
             title=title or '--')