Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d3835e76

Von Sven Donath vor etwa 14 Jahren hinzugefügt

  • ID d3835e76df74c5bc7f014048303a2845a1d2277e
  • Vorgänger 22ae0bf0
  • Nachfolger 6522c45a

Teil 2.1 von: Usability und Lokalisierung, Administration, Gruppen

Einen "Zurück"-Button mit absoluter Rücksprung Adresse versehen statt in der Historie
einen Schritt zurück zu gehen.
Auf Gruppenrechte-Seite die Buttons "Zurück" und "Speichern" vertauscht.
Delete-Confirm-Message so umgebaut, dass der Gruppenname am Anfang der Frage steht
und zusätzlich in der Überschrift.

Fehlermeldungen durch generic/error.html so verändert, dass die Fehlerursache
mit in der CSS-class="message_error" steht. Der "Zurück"-Button befindet sich darunter.
Es gibt Fälle, wo der "Zurück"-Button keine Funktion hat. Mir ist es bisher im Pop-Up "Details"
für Kunden und Lieferanten z.B. in der Rechnungsmaske aufgefallen. In Pop-Up-Fehlermeldungen
sollte der "Zurück"-Button ein "Schließen"- oder "OK"-Button werden.
Das werde ich mit einer Anpassung der Bedingung IF SHOW_BACK_BUTTON realisieren.

Unterschiede anzeigen:

locale/de/all
554 554
  'Do you really want to delete AP transaction #1?' => 'Wollen Sie wirklich die Kreditorenbuchung #1 l?schen?',
555 555
  'Do you really want to delete AR transaction #1?' => 'Wollen Sie wirklich die Debitorenbuchung #1 l?schen?',
556 556
  'Do you really want to delete GL transaction #1?' => 'Wollen Sie wirklich die Dialogbuchung #1 l?schen?',
557
  'Do you really want to delete this group:' => 'Wollen Sie wirklich diese Gruppe löschen:',
557
  'Do you really want to delete this group?' => 'Gruppe wirklich löschen?',
558 558
  'Do you really want to delete this warehouse?' => 'Wollen Sie dieses Lager wirklich löschen?',
559 559
  'Do you want Lx-Office to create a group for access to all functions?' => 'Wollen Sie, dass Lx-Office eine Gruppe mit Zugriff auf alle Funktionen anlegt?',
560 560
  'Do you want to <b>limit</b> your search?' => 'Wollen Sie Ihre Suche <b>spezialisieren</b>?',
locale/de_DE/all
554 554
  'Do you really want to delete AP transaction #1?' => 'Wollen Sie wirklich die Kreditorenbuchung #1 l?schen?',
555 555
  'Do you really want to delete AR transaction #1?' => 'Wollen Sie wirklich die Debitorenbuchung #1 l?schen?',
556 556
  'Do you really want to delete GL transaction #1?' => 'Wollen Sie wirklich die Dialogbuchung #1 l?schen?',
557
  'Do you really want to delete this group:' => 'Wollen Sie wirklich diese Gruppe l&ouml;schen:',
557
  'Do you really want to delete this group?' => 'Gruppe wirklich l&ouml;schen?',
558 558
  'Do you really want to delete this warehouse?' => 'Wollen Sie dieses Lager wirklich l&ouml;schen?',
559 559
  'Do you want Lx-Office to create a group for access to all functions?' => 'Wollen Sie, dass Lx-Office eine Gruppe mit Zugriff auf alle Funktionen anlegt?',
560 560
  'Do you want to <b>limit</b> your search?' => 'Wollen Sie Ihre Suche <b>spezialisieren</b>?',
locale/en/all
554 554
  'Do you really want to delete AP transaction #1?' => '',
555 555
  'Do you really want to delete AR transaction #1?' => '',
556 556
  'Do you really want to delete GL transaction #1?' => '',
557
  'Do you really want to delete this group:' => '',
557
  'Do you really want to delete this group?' => '',
558 558
  'Do you really want to delete this warehouse?' => '',
559 559
  'Do you want Lx-Office to create a group for access to all functions?' => '',
560 560
  'Do you want to <b>limit</b> your search?' => '',
locale/fr/all
549 549
  'Do you really want to delete AP transaction #1?' => '',
550 550
  'Do you really want to delete AR transaction #1?' => '',
551 551
  'Do you really want to delete GL transaction #1?' => '',
552
  'Do you really want to delete this group:' => '',
552
  'Do you really want to delete this group?' => '',
553 553
  'Do you really want to delete this warehouse?' => '',
554 554
  'Do you want Lx-Office to create a group for access to all functions?' => '',
555 555
  'Do you want to <b>limit</b> your search?' => '',
templates/webpages/admin/delete_group_confirm.html
1 1
[%- USE T8 %]
2 2
[% USE HTML %]<body>
3
 <form name="Form" method="post" action="admin.pl">
3
  <div class="listtop">[% 'Delete group' | $T8 %]: [% name %]</div>
4
  <p class="message_hint">[ [% name %] ] - [% 'Do you really want to delete this group?' | $T8 %]</p>
4 5

  
6
   <form name="Form" method="post" action="admin.pl">
7
    <input type="hidden" name="back_nextsub" value="edit_groups">
8
    <input type="submit" class="submit" name="action" value="[% 'Back' | $T8 %]">
5 9

  
6
  <input type="hidden" name="group_id" value="[% HTML.escape(id) %]">
7
  <input type="hidden" name="confirmed" value="1">
8 10

  
9
  <div class="listtop">[% 'Delete group' | $T8 %]</div>
11
    <input type="hidden" name="group_id" value="[% HTML.escape(id) %]">
12
    <input type="hidden" name="confirmed" value="1">
13
    <input type="hidden" name="delete_nextsub" value="delete_group">
14
    <input type="submit" class="submit" name="action" value="[% 'Delete' | $T8 %]">
15
   </form>
10 16

  
11
  <p class="message_hint">[% 'Do you really want to delete this group:' | $T8 %] [% name %] ?</p>
12

  
13
  <input type="hidden" name="delete_nextsub" value="delete_group">
14
  <button type="button" onclick="history.back()">[% 'Back' | $T8 %]</button>
15
  <input type="submit" class="submit" name="action" value="[% 'Delete' | $T8 %]">
16

  
17
 </form>
18

  
19
</body>
17
 </body>
20 18
</html>
templates/webpages/admin/edit_group.html
75 75

  
76 76
   <hr>
77 77
    <input type="hidden" name="save_nextsub" value="save_group">
78
    <input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]">
79
    &nbsp;
80 78
    <input type="submit" class="submit" name="action" value="[% 'Back' | $T8 %]">
79
    <input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]">
81 80
 </form>
82 81
</body>
83 82
</html>
templates/webpages/admin_printer/edit.html
28 28

  
29 29
<br>
30 30
<input type=hidden name=action value="printer_dispatcher">
31
<input type=submit class=submit name=list_printers value="[% 'Back' | $T8 %]">
31 32
<input type=submit class=submit name=save_printer value="[% 'Save' | $T8 %]">
32 33

  
33 34
[%- IF id %]
34 35
<input type=submit class=submit name=delete_printer value="[% 'Delete' | $T8 %]">
35 36
[%- END %]
36
<input type=submit class=submit name=list_printers value="[% 'Back' | $T8 %]">
37 37

  
38 38
</form>
39 39

  
templates/webpages/admin_printer/list.html
19 19
[%- IF all_printers.size %]
20 20
[%- FOREACH row = all_printers %]
21 21
        <tr valign=top class="listrow[% loop.count % 2 %]">
22
          <td><a href="[% edit_link %][% row.id %]">[% row.printer_description %]</a></td>
23
          <td align=left>[% row.printer_command | html %]</td>
24
          <td align=left>[% row.template_code | html %]</td>
22
          <td>&nbsp;<a href="[% edit_link %][% row.id %]">[% row.printer_description %]</a></td>
23
          <td align=left>&nbsp;[% row.printer_command | html %]</td>
24
          <td align=left>&nbsp;[% row.template_code | html %]</td>
25 25
        </tr>
26 26
[%- END %]
27 27
[%- ELSE %]
......
37 37

  
38 38
<br>
39 39
 <input type="hidden" name="action" value="printer_dispatcher">
40
 <input type="submit" name="add_printer" value ="[% 'Add' | $T8 %]">
41 40
 <input type="submit" name='get_login_form' value="[% 'Back' | $T8 %]">
41
 <input type="submit" name="add_printer" value ="[% 'Add' | $T8 %]">
42 42
</form>
43 43
</body>
44 44
</html>
templates/webpages/admin_printer/login.html
9 9

  
10 10
<input type='hidden' name='action' value='printer_dispatcher'>
11 11
<p>
12
<input type='submit' name='list_printers' value='[% 'Continue' | $T8 %]'>
13 12
<input type='submit' name='list_users' value='[% 'Back' | $T8 %]'>
13
<input type='submit' name='list_printers' value='[% 'Continue' | $T8 %]'>
14 14
</p>
15 15

  
16 16
</form>
templates/webpages/generic/error.html
1 1
[%- USE T8 %]
2 2
[% USE HTML %]<body>
3 3

  
4
 <div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]</div>
5
<p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
4
 <div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]
6 5
 <p>[% label_error %]</p>
7

  
6
 </div>
7
 
8
 <p style="text-align: left;"><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
9
 
8 10
 [%- IF SHOW_BACK_BUTTON %]
9 11
 <form>
10 12
  <p>

Auch abrufbar als: Unified diff