From: Sven Schöling Date: Fri, 21 Nov 2014 17:17:16 +0000 (+0100) Subject: Layout: title Ausgabe normalisieren X-Git-Tag: release-3.2.0beta~237 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3aa5cee2f12c1dff757539b60196bf5e1be0a5d6;p=kivitendo-erp.git Layout: title Ausgabe normalisieren ...mit dem Ziel das später ins Layout zu migrieren. - In allen Templates den Tital auch wirklich als erstes ins DOM verschoben - unterschiedliche Verwendung der folgenden Muster vereinheitlicht:

...

...

...

a .... - Verwendung der gleichen Klasse im Footer in

geändert - Puffer entfert Das ergibt insgesamt folgende Effekte: - Einheitliches Rendern der Überschrift - Einheitlicher Abstand zum Content - flash/message werden immer unter der Überschrift angezeigt --- diff --git a/bin/mozilla/arap.pl b/bin/mozilla/arap.pl index f56da182f..67b1c4871 100644 --- a/bin/mozilla/arap.pl +++ b/bin/mozilla/arap.pl @@ -169,13 +169,11 @@ sub select_name { my $title = $locale->text('Select from one of the names below'); print qq| +

$title

+
{script}> - - - -
$title
diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index d6ecf671f..a51555372 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -288,12 +288,9 @@ sub update_prices { # $form->header; # # print qq| +#

| . $locale->text('choice part') . qq|

# #
-# -# -# -# # # # @@ -722,11 +719,9 @@ sub addtop100 { my $colspan = $#column_index + 1; print qq| +

$form->{title}

+
| . $locale->text('choice part') . qq|
 | . $locale->text('Part Number') . qq|
- - - - diff --git a/templates/webpages/acctranscorrections/analyze_overview.html b/templates/webpages/acctranscorrections/analyze_overview.html index b059a3a8e..f85ba4ff7 100644 --- a/templates/webpages/acctranscorrections/analyze_overview.html +++ b/templates/webpages/acctranscorrections/analyze_overview.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] - -

[% title %]

+

[% title %]

[% 'kivitendo has found one or more problems in the general ledger.' | $T8 %]

diff --git a/templates/webpages/acctranscorrections/assistant_for_ap_ar_wrong_taxkeys.html b/templates/webpages/acctranscorrections/assistant_for_ap_ar_wrong_taxkeys.html index c82876a1e..8671faacc 100644 --- a/templates/webpages/acctranscorrections/assistant_for_ap_ar_wrong_taxkeys.html +++ b/templates/webpages/acctranscorrections/assistant_for_ap_ar_wrong_taxkeys.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] - -

[% title %]

+

[% title %]

[% 'There is at least one transaction for which the user has chosen a logically wrong taxkey.' | $T8 %] diff --git a/templates/webpages/acctranscorrections/assistant_for_invoice_inventory_with_taxkeys.html b/templates/webpages/acctranscorrections/assistant_for_invoice_inventory_with_taxkeys.html index 5971d5c27..458193553 100644 --- a/templates/webpages/acctranscorrections/assistant_for_invoice_inventory_with_taxkeys.html +++ b/templates/webpages/acctranscorrections/assistant_for_invoice_inventory_with_taxkeys.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] - -

[% title %]

+

[% title %]

[% 'There is at least one sales or purchase invoice for which kivitendo recorded an inventory transaction with taxkeys even though no tax was recorded.' | $T8 %] diff --git a/templates/webpages/acctranscorrections/assistant_for_wrong_taxes.html b/templates/webpages/acctranscorrections/assistant_for_wrong_taxes.html index 4d47e605b..0d81bb608 100644 --- a/templates/webpages/acctranscorrections/assistant_for_wrong_taxes.html +++ b/templates/webpages/acctranscorrections/assistant_for_wrong_taxes.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] - -

[% title %]

+

[% title %]

[% 'The following transaction contains wrong taxes:' | $T8 %] diff --git a/templates/webpages/acctranscorrections/assistant_for_wrong_taxkeys.html b/templates/webpages/acctranscorrections/assistant_for_wrong_taxkeys.html index 4d335db54..3ed544f11 100644 --- a/templates/webpages/acctranscorrections/assistant_for_wrong_taxkeys.html +++ b/templates/webpages/acctranscorrections/assistant_for_wrong_taxkeys.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] - -

[% title %]

+

[% title %]

[% 'The following transaction contains wrong taxkeys:' | $T8 %] diff --git a/templates/webpages/acctranscorrections/fix_ap_ar_wrong_taxkeys.html b/templates/webpages/acctranscorrections/fix_ap_ar_wrong_taxkeys.html index e6252dc7d..e95121596 100644 --- a/templates/webpages/acctranscorrections/fix_ap_ar_wrong_taxkeys.html +++ b/templates/webpages/acctranscorrections/fix_ap_ar_wrong_taxkeys.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %] - -

[% title %]

+

[% title %]

[% 'The wrong taxkeys for AP and AR transactions have been fixed.' | $T8 %] diff --git a/templates/webpages/acctranscorrections/fix_invoice_inventory_with_taxkeys.html b/templates/webpages/acctranscorrections/fix_invoice_inventory_with_taxkeys.html index 4fab42b0c..0c13cfbd9 100644 --- a/templates/webpages/acctranscorrections/fix_invoice_inventory_with_taxkeys.html +++ b/templates/webpages/acctranscorrections/fix_invoice_inventory_with_taxkeys.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %] - -

[% title %]

+

[% title %]

[% 'The wrong taxkeys for inventory transactions for sales and purchase invoices have been fixed.' | $T8 %] diff --git a/templates/webpages/acctranscorrections/fix_wrong_taxkeys.html b/templates/webpages/acctranscorrections/fix_wrong_taxkeys.html index 6fde4eff1..749b4057f 100644 --- a/templates/webpages/acctranscorrections/fix_wrong_taxkeys.html +++ b/templates/webpages/acctranscorrections/fix_wrong_taxkeys.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %] - -

[% title %]

+

[% title %]

[% 'The wrong taxkeys have been fixed.' | $T8 %] diff --git a/templates/webpages/am/config.html b/templates/webpages/am/config.html index 257f6a7ac..13b060a16 100644 --- a/templates/webpages/am/config.html +++ b/templates/webpages/am/config.html @@ -1,7 +1,7 @@ [%- USE T8 %] [%- USE LxERP %] [%- USE HTML %][%- USE L %] -

[% title %]
+

[% title %]

diff --git a/templates/webpages/am/confirm_delete_warehouse.html b/templates/webpages/am/confirm_delete_warehouse.html index 28dd70d27..d26b75dbb 100644 --- a/templates/webpages/am/confirm_delete_warehouse.html +++ b/templates/webpages/am/confirm_delete_warehouse.html @@ -1,7 +1,6 @@ [%- USE T8 %] [%- USE HTML %] - -
[% title %]
+

[% title %]

[% 'Do you really want to delete this warehouse?' | $T8 %]

diff --git a/templates/webpages/am/edit_accounts.html b/templates/webpages/am/edit_accounts.html index 1e5b03ce9..95cd8c09d 100644 --- a/templates/webpages/am/edit_accounts.html +++ b/templates/webpages/am/edit_accounts.html @@ -1,6 +1,9 @@ [%- USE T8 %] [%- USE L %] -[% USE HTML %] -
[% 'Report about warehouse transactions' | $T8 %]
- diff --git a/templates/webpages/wh/removal_parts_selection.html b/templates/webpages/wh/removal_parts_selection.html index 5cf5ffa35..5bc1e30a9 100644 --- a/templates/webpages/wh/removal_parts_selection.html +++ b/templates/webpages/wh/removal_parts_selection.html @@ -1,13 +1,12 @@ [%- USE T8 %] [%- USE HTML %][%- USE JavaScript %] +

[% title %]

-
[% title %]
-

[% 'Removal from warehouse' | $T8 %]: [% warehouse_description %]

diff --git a/templates/webpages/wh/report_filter.html b/templates/webpages/wh/report_filter.html index 12a3e0b60..70fb4f126 100644 --- a/templates/webpages/wh/report_filter.html +++ b/templates/webpages/wh/report_filter.html @@ -1,6 +1,8 @@ [%- USE T8 %] [%- USE L %] [%- USE HTML %][%- USE JavaScript %] +

[% 'Report about warehouse contents' | $T8 %]

+ -
[% 'Report about warehouse contents' | $T8 %]
- diff --git a/templates/webpages/wh/transfer_parts_selection.html b/templates/webpages/wh/transfer_parts_selection.html index 5a7aabf86..0f5d2f50a 100644 --- a/templates/webpages/wh/transfer_parts_selection.html +++ b/templates/webpages/wh/transfer_parts_selection.html @@ -1,5 +1,7 @@ [%- USE T8 %] [%- USE HTML %][%- USE JavaScript %] +

[% title %]

+
$form->{title}
$option