diff digitalobjects-item-usage.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-item-usage.tpl.php	Tue Jun 02 08:57:48 2015 +0200
@@ -0,0 +1,9 @@
+<h2>Collections where the object is used</h2>
+<div class="collection-usage">
+    <ul>
+    <?php foreach ($variables['data'] as $nid => $title):?>
+        <li><?php print l(t($title), "node/$nid");?></li>
+    <?php endforeach ?>
+    </ul>
+
+</div>