Hide 'always-private' fields when profile is edited by an AX secretary.
[platal.git] / templates / profile / jobs.tpl
index c257a8a..aa6e0df 100644 (file)
@@ -77,6 +77,7 @@
   </tr>
 </table>
 
+{if $smarty.session.user->checkPerms('directory_private')}
 <table class="bicol" summary="CV" style="margin-top: 1.5em">
   <tr>
     <th>
     </td>
   </tr>
 </table>
+{/if}
 
 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}