summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <cfowler2@wcpss.net>2013-07-08 20:41:01 -0400
committerChristian Fowler <cfowler2@wcpss.net>2013-07-08 20:41:01 -0400
commitbb3b9df60fb11a8869087f9971515facebfa296e (patch)
treef40e38d58282710b7d9275e393eb4f50a1287fe6 /templates
parentdba711dc8159fcf76206daee086b81a0025a7357 (diff)
downloadliberty-bb3b9df60fb11a8869087f9971515facebfa296e.tar.gz
liberty-bb3b9df60fb11a8869087f9971515facebfa296e.tar.bz2
liberty-bb3b9df60fb11a8869087f9971515facebfa296e.zip
fix jspopup for comment attachments
Diffstat (limited to 'templates')
-rw-r--r--templates/list_comment_files_inc.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/list_comment_files_inc.tpl b/templates/list_comment_files_inc.tpl
index e26cfde..abda08b 100644
--- a/templates/list_comment_files_inc.tpl
+++ b/templates/list_comment_files_inc.tpl
@@ -1,4 +1,3 @@
-{* $Header$ *}
{strip}
{if $storageHash}
<h4 class="table">
@@ -25,7 +24,7 @@
{foreach from=$storageHash item=item key=id}
<tr class="{cycle values="odd,even"}" >
<td style="text-align:left;">
- {jspopup notra=1 href="`$item.display_url`&popup=y" title=$item.filename|escape}
+ {jspopup notra=1 href="`$item.display_url`&popup=y" title=$item.file_name|default:"File `$id`"|escape}
</td>
<td style="text-align:center;">
{$item.mime_type}