diff options
| -rw-r--r-- | templates/edit_pigeonholes.tpl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl index 1161aac..e558558 100644 --- a/templates/edit_pigeonholes.tpl +++ b/templates/edit_pigeonholes.tpl @@ -109,14 +109,16 @@ {/legend} {/jstab} - {jstab title="Attachments"} - <div class=row> - {legend legend="Attachments"} - {include file="bitpackage:liberty/edit_storage.tpl"} + {if $gBitUser->hasPermission('p_liberty_attach_attachments') } + {jstab title="Attachments"} + <div class=row> + {legend legend="Attachments"} + {include file="bitpackage:liberty/edit_storage.tpl"} - {/legend} - </div> - {/jstab} + {/legend} + </div> + {/jstab} + {/if} {/jstabs} {/form} |
