summaryrefslogtreecommitdiff
path: root/templates/view_table_inc.tpl
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-06-10 12:35:52 +0000
committerNick Palmer <nick@sluggardy.net>2007-06-10 12:35:52 +0000
commitacf116b962533031323663bb1d6bd553635beddb (patch)
tree0d12c7375bd9e09163779b1aa27eacab3bef57e3 /templates/view_table_inc.tpl
parent7d6e8febc228909303e686e99ab44d443d5c7811 (diff)
downloadpigeonholes-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/view_table_inc.tpl')
-rw-r--r--templates/view_table_inc.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/view_table_inc.tpl b/templates/view_table_inc.tpl
index 9106e1d..4f47043 100644
--- a/templates/view_table_inc.tpl
+++ b/templates/view_table_inc.tpl
@@ -4,8 +4,10 @@
<a name="members"></a>
<h2>{$gContent->getTitle()}</h2>
<p>
- {$pigeonItem.data|escape}
- <br />
+ {if !empty($pigeonItem.parsed_data) && $gBitSystem->isFeatureActive('pigeonholes_display_description')}
+ {$pigeonItem.parsed_data}
+ <br />
+ {/if}
<small>{tr}This category contains {$pigeonItem.members_count} item(s){/tr}</small>
</p>
{* calculate column width *}