diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-06-10 12:35:52 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-06-10 12:35:52 +0000 |
| commit | acf116b962533031323663bb1d6bd553635beddb (patch) | |
| tree | 0d12c7375bd9e09163779b1aa27eacab3bef57e3 /templates/assign_content.tpl | |
| parent | 7d6e8febc228909303e686e99ab44d443d5c7811 (diff) | |
| download | pigeonholes-acf116b962533031323663bb1d6bd553635beddb.tar.gz pigeonholes-acf116b962533031323663bb1d6bd553635beddb.tar.bz2 pigeonholes-acf116b962533031323663bb1d6bd553635beddb.zip | |
Make pigeonholes LibertyAttachables and descriptions parsed content. Cleanup display_description checking in templates. Need to add the attachment browser probably.
Diffstat (limited to 'templates/assign_content.tpl')
| -rw-r--r-- | templates/assign_content.tpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/assign_content.tpl b/templates/assign_content.tpl index d551a48..74f398c 100644 --- a/templates/assign_content.tpl +++ b/templates/assign_content.tpl @@ -154,7 +154,11 @@ {foreach from=$pigeonList item=pigeon} <dl> <dt>{counter name=dogEatsPigeon}</dt> - <dd>{$pigeon.display_path}<br /><small>{$pigeon.data|escape}</small></dd> + <dd>{$pigeon.display_path} + {if !empty($pigeon.parsed_data) && $gBitSystem->isFeatureActive('pigeonholes_display_description')} + <br /><small>{$pigeon.parsed_data}</small> + {/if} + </dd> </dl> {/foreach} {/if} |
