summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2007-06-13 09:49:33 +0000
committerLester Caine <lester@lsces.co.uk>2007-06-13 09:49:33 +0000
commit164ac288a22531ec38702e3d76f90f9d0e7d285b (patch)
treea3c8967b240d6ba871dc70ded3f1fdeb03a716f9
parent89319b9b95df5551374b331f66ea9ea4f9352f91 (diff)
downloadliberty-164ac288a22531ec38702e3d76f90f9d0e7d285b.tar.gz
liberty-164ac288a22531ec38702e3d76f90f9d0e7d285b.tar.bz2
liberty-164ac288a22531ec38702e3d76f90f9d0e7d285b.zip
Identify primary_attachment in attachment list
-rw-r--r--templates/edit_storage_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl
index 0ba1820..c2adebe 100644
--- a/templates/edit_storage_list.tpl
+++ b/templates/edit_storage_list.tpl
@@ -23,7 +23,7 @@
{/if}
</td>
<td>
- Attachment ID: {$attachmentId} <br />
+ Attachment ID: {$attachmentId} {if $gContent->mInfo.primary_attachment_id eq $attachmentId}(Primary){/if} <br />
Filename: {$storage.filename} <br />
Actions:
{if ($gBitUser->isAdmin() || $gBitUser->hasPermission( 'p_liberty_detach_attachment' ) || $storage.user_id == $gBitUser->mUserId) && !empty($gContent->mContentId)}