]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Historie-Button bei Waren-/Preisgruppen ausglenden, wenn keine Gruppe gewählt ist
authorThomas Heck <theck@linet-services.de>
Tue, 27 Nov 2012 14:58:55 +0000 (15:58 +0100)
committerThomas Heck <theck@linet-services.de>
Tue, 27 Nov 2012 15:07:41 +0000 (16:07 +0100)
z.B. beim Erstellen.
fixt #2086

templates/webpages/pe/partsgroup_form.html
templates/webpages/pe/pricegroup_form.html

index d0f1fcea3d8d42358a10102efc2e72945e874b6f..686bca695a1ee712c1260150619ebb456b69fcbb 100644 (file)
@@ -36,6 +36,9 @@
 <input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
 [%- END %]
 
-<input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- IF ( id ) %]
+  <input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- END %]
+
 </form>
 
index ed75005d938c6b703848735ca4dec6122acb0c8a..0b1f8e3ce0ba1c83f92a1c9282c8dcef111c00a0 100644 (file)
@@ -36,6 +36,9 @@
 <input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
 [%- END %]
 
-<input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- IF ( id ) %]
+  <input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- END %]
+
 </form>