summaryrefslogtreecommitdiff
path: root/templates/mime_view.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mime_view.tpl')
-rw-r--r--templates/mime_view.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/mime_view.tpl b/templates/mime_view.tpl
index 456a1f8..2ece534 100644
--- a/templates/mime_view.tpl
+++ b/templates/mime_view.tpl
@@ -37,6 +37,16 @@
</div>
{/legend}
+ {if $usage}
+ {legend legend="Content this attachment is used in"}
+ <ul>
+ {foreach from=$usage item=use}
+ <li><a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$use.content_id}">{$use.title}</a></li>
+ {/foreach}
+ </ul>
+ {/legend}
+ {/if}
+
</div><!-- end .body -->
</div><!-- end .attachment -->
{/strip}