Revision c01d62c4
Von Martin Helmling mh@waldpark.octosoft.eu vor fast 9 Jahren hinzugefügt
templates/webpages/ic/form_header.html | ||
---|---|---|
4 | 4 |
[% PROCESS 'common/select_warehouse_bin.html' %] |
5 | 5 |
<h1>[% title %] [% HTML.escape(partnumber) %] [% HTML.escape(description) %]</h1> |
6 | 6 |
|
7 |
[% PROCESS 'common/flash.html' %]
|
|
7 |
[% INCLUDE 'common/flash.html' %]
|
|
8 | 8 |
|
9 | 9 |
<form method="post" name="ic" action="[% script %]"> |
10 | 10 |
|
templates/webpages/ic/generate_report_top.html | ||
---|---|---|
1 | 1 |
[%- USE HTML %] |
2 | 2 |
[%- USE T8 %] |
3 | 3 |
[%- USE L %] |
4 |
[%- PROCESS 'common/flash.html' %]
|
|
4 |
[%- INCLUDE 'common/flash.html' %]
|
|
5 | 5 |
|
6 | 6 |
[% 'Options' | $T8 %]: [% options.join(', ') %] |
templates/webpages/inventory/warehouse_selection_stock.html | ||
---|---|---|
5 | 5 |
|
6 | 6 |
<h1>[% title | html %]</h1> |
7 | 7 |
|
8 |
[%- PROCESS 'common/flash.html' %]
|
|
8 |
[%- INCLUDE 'common/flash.html' %]
|
|
9 | 9 |
|
10 | 10 |
<form name="Form" method="post" action="controller.pl"> |
11 | 11 |
|
templates/webpages/is/form_header.html | ||
---|---|---|
25 | 25 |
|
26 | 26 |
<p>[% saved_message %]</p> |
27 | 27 |
|
28 |
[%- PROCESS 'common/flash.html' %]
|
|
28 |
[%- INCLUDE 'common/flash.html' %]
|
|
29 | 29 |
[%- INCLUDE 'generic/set_longdescription.html' %] |
30 | 30 |
|
31 | 31 |
<div id="is_tabs" class="tabwidget"> |
templates/webpages/letter/edit.html | ||
---|---|---|
10 | 10 |
<input type="hidden" name="draft.id" value="[% draft.id | html %]"> |
11 | 11 |
<input type="hidden" name="type" value="[% type | html %]"> |
12 | 12 |
|
13 |
[%- PROCESS 'common/flash.html' %]
|
|
13 |
[%- INCLUDE 'common/flash.html' %]
|
|
14 | 14 |
|
15 | 15 |
<div id="oe_tabs" class="tabwidget"> |
16 | 16 |
<ul> |
templates/webpages/price_rule/report_top.html | ||
---|---|---|
1 | 1 |
[%- USE L %] |
2 |
[%- PROCESS 'common/flash.html' %]
|
|
2 |
[%- INCLUDE 'common/flash.html' %]
|
|
3 | 3 |
[%- PROCESS 'price_rule/_filter.html' filter=SELF.models.filtered.laundered UNLESS FORM.inline %] |
4 | 4 |
<hr> |
Auch abrufbar als: Unified diff
Flash-Template Macro immer per INCLUDE dazunehmen
Bei PROCESS bleiben Macro variable "typ", "title" und "message" für den Rest
des Templates gesetzt, bzw überschreiben gesetzte Template Variable,
aufgefallen z.B in ic/form_header.html :
Dort gibt es die HIDDEN Variable "title",
die dann vom Macro beim letzen Durchlauf auf Ok bzw (Übersetzung von Ok) gesetzt wird
Es gibt noch ein paar mehr template files (7), in denen PROCESS verwendet wird,
ob es dort Auswirkungen hat ist noch zu prüfen