From 164ac288a22531ec38702e3d76f90f9d0e7d285b Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Wed, 13 Jun 2007 09:49:33 +0000 Subject: Identify primary_attachment in attachment list --- templates/edit_storage_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/edit_storage_list.tpl') 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} - Attachment ID: {$attachmentId}
+ Attachment ID: {$attachmentId} {if $gContent->mInfo.primary_attachment_id eq $attachmentId}(Primary){/if}
Filename: {$storage.filename}
Actions: {if ($gBitUser->isAdmin() || $gBitUser->hasPermission( 'p_liberty_detach_attachment' ) || $storage.user_id == $gBitUser->mUserId) && !empty($gContent->mContentId)} -- cgit v1.3