Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 09ca7881

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID 09ca7881026f7ce28065a6acefe8d5ea5884f006
  • Vorgänger 56f841b0
  • Nachfolger 15672788

Erzwungener Layout-Stil: Mandantenkonfiguration

Möglichkeit, den sonst automatisch ermittelten Stil vorzugeben
für erzwungenes Layout (Desktop/Mobil).

Unterschiede anzeigen:

SL/DB/MetaSetup/Default.pm
132 132
  is_transfer_out                           => { type => 'boolean', default => 'false', not_null => 1 },
133 133
  itime                                     => { type => 'timestamp', default => 'now()' },
134 134
  language_id                               => { type => 'integer' },
135
  layout_style                              => { type => 'text' },
135 136
  letternumber                              => { type => 'integer' },
136 137
  lock_oe_subversions                       => { type => 'boolean', default => 'false', not_null => 1 },
137 138
  loss_carried_forward_chart_id             => { type => 'integer' },
locale/de/all
446 446
  'Authentification tables creation' => 'Anlegen der Tabellen zur Benutzerauthentifizierung',
447 447
  'Author'                      => 'Verfasser/in',
448 448
  'Auto Send?'                  => 'Auto. Versand?',
449
  'Automatic'                   => 'automatisch',
449 450
  'Automatic Foreign Exchange Bank Fees' => 'Automatische Bankgebühren für Auslandsüberweisungen',
450 451
  'Automatic date calculation'  => 'Automatische Datumsberechnung',
451 452
  'Automatic deletion of leading, trailing and excessive (repetitive) spaces in customer or vendor names' => 'Automatisches Löschen von voran-/nachgestellten und aufeinanderfolgenden Leerzeichen im Kunden- oder Lieferantennamen',
......
1782 1783
  'For this invoice the bank tranfer via SEPA was blocked manually.' => 'Für diese Rechnung wurde die Überweisung via SEPA manuell gesperrt.',
1783 1784
  'For type "customer" the perl module JSON is required. Please check this on system level: $ ./scripts/installation_check.pl' => 'Für den Typ "Kunde" wird das Perl Module JSON benötigt. Überprüfbar im Installationspfad mit:<br />
1784 1785
$ ./scripts/installation_check.pl',
1786
  'Force a layout style'        => 'Einen Layout-Stil erzwingen',
1787
  'Forced Layout Style'         => 'Erzwungender Layout-Stil',
1785 1788
  'Foreign Exchange Gain'       => 'Wechselkurserträge',
1786 1789
  'Foreign Exchange Loss'       => 'Wechselkursaufwendungen',
1787 1790
  'Form details (second row)'   => 'Formulardetails (zweite Positionszeile)',
......
4040 4043
  'The item has been deleted.'  => 'Der Artikel wurde gelöscht.',
4041 4044
  'The item has been saved.'    => 'Der Artikel wurde gespeichert.',
4042 4045
  'The items are imported accoring do their number "X" regardless of the column order inside the file.' => 'Die Einträge werden in der Reihenfolge ihrer Indizes "X" unabhängig von der Spaltenreihenfolge in der Datei importiert.',
4046
  'The layout style normally is choosen by the user agent string the browser sends. Here you can force the desktop or mobile version. Users can override this setting in their user preferences.' => 'Normalerweise wird der Layout-Stil durch den \'user agent string\' vom Browser bestimmt. Hier kann die Desktop- oder Mobil-Version erzwungen werden. Benutzer können diese Einstellung in ihren Benutzereinstellungen überschreiben.',
4043 4047
  'The link target to add has been created from the existing record.' => 'Das auszuwählende Verknüpfungsziel wurde aus dem bestehenden Beleg erstellt.',
4044 4048
  'The list has been printed.'  => 'Die Liste wurde ausgedruckt.',
4045 4049
  'The login is missing.'       => 'Der Loginname fehlt.',
......
4903 4907
  'deleted'                     => 'gelöscht',
4904 4908
  'delivered'                   => 'geliefert',
4905 4909
  'deliverydate'                => 'Lieferdatum',
4910
  'desktop version'             => 'Desktop-Version',
4906 4911
  'direct debit'                => 'Lastschrifteinzug',
4907 4912
  'disposed'                    => 'Entsorgung',
4908 4913
  'disposed_br'                 => 'Entsgt.',
......
4990 4995
  'missing'                     => 'Fehlbestand',
4991 4996
  'missing file for action import' => 'Es wurde keine Datei zum Hochladen ausgewählt',
4992 4997
  'missing_br'                  => 'Fehl.',
4998
  'mobile version'              => 'Mobil-Version',
4993 4999
  'month'                       => 'Monatliche Abgabe',
4994 5000
  'monthly'                     => 'monatlich',
4995 5001
  'more'                        => 'mehr',
locale/en/all
446 446
  'Authentification tables creation' => '',
447 447
  'Author'                      => '',
448 448
  'Auto Send?'                  => '',
449
  'Automatic'                   => '',
449 450
  'Automatic Foreign Exchange Bank Fees' => '',
450 451
  'Automatic date calculation'  => '',
451 452
  'Automatic deletion of leading, trailing and excessive (repetitive) spaces in customer or vendor names' => '',
......
1781 1782
  'For sales invoices, warn if invoice has no delivery order as a predecessor' => '',
1782 1783
  'For this invoice the bank tranfer via SEPA was blocked manually.' => '',
1783 1784
  'For type "customer" the perl module JSON is required. Please check this on system level: $ ./scripts/installation_check.pl' => '',
1785
  'Force a layout style'        => '',
1786
  'Forced Layout Style'         => '',
1784 1787
  'Foreign Exchange Gain'       => '',
1785 1788
  'Foreign Exchange Loss'       => '',
1786 1789
  'Form details (second row)'   => '',
......
4038 4041
  'The item has been deleted.'  => '',
4039 4042
  'The item has been saved.'    => '',
4040 4043
  'The items are imported accoring do their number "X" regardless of the column order inside the file.' => '',
4044
  'The layout style normally is choosen by the user agent string the browser sends. Here you can force the desktop or mobile version. Users can override this setting in their user preferences.' => '',
4041 4045
  'The link target to add has been created from the existing record.' => '',
4042 4046
  'The list has been printed.'  => '',
4043 4047
  'The login is missing.'       => '',
......
4901 4905
  'deleted'                     => '',
4902 4906
  'delivered'                   => '',
4903 4907
  'deliverydate'                => '',
4908
  'desktop version'             => '',
4904 4909
  'direct debit'                => '',
4905 4910
  'disposed'                    => '',
4906 4911
  'disposed_br'                 => 'disposed',
......
4988 4993
  'missing'                     => '',
4989 4994
  'missing file for action import' => '',
4990 4995
  'missing_br'                  => 'missing',
4996
  'mobile version'              => '',
4991 4997
  'month'                       => '',
4992 4998
  'monthly'                     => '',
4993 4999
  'more'                        => '',
sql/Pg-upgrade2/defaults_add_layout_style.sql
1
-- @tag: defaults_add_layout_style
2
-- @description: Mandantenkonfiguration für erzwungenen Layout-Stil (Desktop oder Mobil)
3
-- @depends: release_3_8_0
4

  
5
ALTER TABLE defaults ADD COLUMN layout_style TEXT;
templates/design40_webpages/client_config/_features.html
524 524
      </div>
525 525
      </td>
526 526
    </tr>
527
    <tr><th colspan="4">[% 'Displayable Name Preferences' | $T8 %]</th></tr>
527
  </tbody>
528
</table>
529

  
530
</div><!-- /.wrapper -->
531

  
532
<div class="wrapper">
533

  
534
<table class="tbl-horizontal expanded">
535
  <caption>[% LxERP.t8("Display options") %]</caption>
536
  <colgroup> <col class="wi-normal"><col class="wi-verywide"><col class="wi-normal"> </colgroup>
537
  <tbody>
538
    <tr><th class="caption", colspan="4">[% 'Displayable Name Preferences' | $T8 %]</th></tr>
528 539
    [% FOREACH module=SELF.displayable_name_specs_by_module.keys.sort %]
529 540
    [%- SET spec=SELF.displayable_name_specs_by_module.$module -%]
530 541
    <tr>
......
557 568
      [% END %]
558 569
    </tr>
559 570
    [% END %]
571
    <tr><th class="caption">[% 'Forced Layout Style' | $T8 %]</th></tr>
572
    <tr>
573
      <th>[% 'Force a layout style' | $T8 %]</th>
574
      <td>[% L.select_tag('defaults.layout_style', [['', LxERP.t8('Automatic')], ['mobile', LxERP.t8('mobile version')], ['desktop', LxERP.t8('desktop version')]], default=SELF.defaults.layout_style, with_empty=0, style="width: 200px") %]</td>
575
      <td class="long-desc">[% 'The layout style normally is choosen by the user agent string the browser sends. Here you can force the desktop or mobile version. Users can override this setting in their user preferences.' | $T8 %]</td>
576
    </tr>
560 577
  </tbody>
561 578
</table>
562 579

  
templates/webpages/client_config/_features.html
569 569
    </td>
570 570
    [% END %]
571 571
  </tr>
572
  [% END %]
573

  
572
 [% END %]
573
 <tr><td class="listheading" colspan="4">[% 'Forced Layout Style' | $T8 %]</td></tr>
574
 <tr>
575
  <td align="right">[% 'Force a layout style' | $T8 %]</td>
576
  <td>[% L.select_tag('defaults.layout_style', [['', LxERP.t8('Automatic')], ['mobile', LxERP.t8('mobile version')], ['desktop', LxERP.t8('desktop version')]], default=SELF.defaults.layout_style, with_empty=0) %]</td>
577
  <td>[% 'The layout style normally is choosen by the user agent string the browser sends. Here you can force the desktop or mobile version. Users can override this setting in their user preferences.' | $T8 %]</td>
578
 </tr>
574 579

  
575 580
</table>
576 581
</div>

Auch abrufbar als: Unified diff