diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-07-18 12:39:38 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-07-18 12:39:38 +0000 |
| commit | 5dce57d4bfa6aa46bab8c109a9d2659af3897b0b (patch) | |
| tree | 96494162cb42611535446fd58d882d817749fe91 /templates/mime_view.tpl | |
| parent | 3d2026c2a7812e676e9f921f3769e38ec573648a (diff) | |
| download | liberty-5dce57d4bfa6aa46bab8c109a9d2659af3897b0b.tar.gz liberty-5dce57d4bfa6aa46bab8c109a9d2659af3897b0b.tar.bz2 liberty-5dce57d4bfa6aa46bab8c109a9d2659af3897b0b.zip | |
hardcode attachment usage stuff for now. we might have a better system at some point but for now, this will do.
Diffstat (limited to 'templates/mime_view.tpl')
| -rw-r--r-- | templates/mime_view.tpl | 10 |
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} |
