diff digitalobjects-collection-usedIn.tpl.php @ 0:6f6e07baad80 default tip

initial
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 02 Jun 2015 08:57:48 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/digitalobjects-collection-usedIn.tpl.php	Tue Jun 02 08:57:48 2015 +0200
@@ -0,0 +1,10 @@
+<?php if (sizeof($entities)>0): ?>
+    <h3>Used in</h3>
+    <?php foreach($entities as $entity): ?>
+        <div>
+            <a href="../node/<?php print $entity->nid ?>">
+                <?php print $entity->title ?>
+            </a>
+        </div>
+    <?php endforeach;?>
+<?php endif;?>