eggification
[MosaicDocument.git] / Products / MosaicDocument / default_slots / slot_string_view.pt
diff --git a/Products/MosaicDocument/default_slots/slot_string_view.pt b/Products/MosaicDocument/default_slots/slot_string_view.pt
new file mode 100755 (executable)
index 0000000..68bf02a
--- /dev/null
@@ -0,0 +1,9 @@
+<div tal:define="object nocall:options/object;
+                 text object/text;
+                 ec object/getExprContext;
+                 url python:object.url_expression(ec);"
+     tal:omit-tag="">
+  <a href="." tal:omit-tag="not:url" tal:attributes="href url">
+    <span tal:replace="text">text</span>
+  </a>
+</div>