Ansprechpersonensuche im Header bei Stammdatenrechten anzeigen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 13 May 2015 12:27:17 +0000 (14:27 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 13 May 2015 12:27:17 +0000 (14:27 +0200)
templates/webpages/menu/header.html

index 42e485a..f7ba0ee 100644 (file)
@@ -5,8 +5,8 @@
  <span class="frame-header-element frame-header-left">
     [<a href="controller.pl?action=LoginScreen/user_login" target="_blank" title="[% 'Open a further kivitendo window or tab' | $T8 %]">[% 'New window/tab' | $T8 %]</a>]
     [<a href="JavaScript:top.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>]
-[%- IF AUTH.assert('general_ledger', 1) %]
-    [ <input name="frame_header_contact_search" id="frame_header_contact_search" placeholder="[% 'Search contacts' | $T8 %]" size="14">]
+[%- IF AUTH.assert('customer_vendor_edit|customer_vendor_edit_all', 1) %]
+    [<input name="frame_header_contact_search" id="frame_header_contact_search" placeholder="[% 'Search contacts' | $T8 %]" size="14">]
 [%- END %]
 [%- IF AUTH.assert('general_ledger', 1) %]
     [<input id="glquicksearch" name="glquicksearch" type="text" class="ui-widget" placeholder="[% 'GL search' | $T8 %]" maxlength="20">]