Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 114f0431

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID 114f0431eccd72bda0985e8efa77258d718c7f27
  • Vorgänger 8d18edeb
  • Nachfolger 0a9e099d

drafts/load.html entfernen, nach Umstellung auf Controller nicht mehr benötigt

Unterschiede anzeigen:

templates/webpages/drafts/load.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
<h1>[% 'Load draft' | $T8 %]</h1>
4

  
5
 <form action="[% HTML.escape(script) %]" method="post">
6

  
7
  <input type="hidden" name="SAVED_FORM" value="[% HTML.escape(SAVED_FORM) %]">
8

  
9
  <table width="100%">
10
   <tr>
11
    <td>
12
     [% 'The following drafts have been saved and can be loaded.' | $T8 %]
13
    </td>
14
   </tr>
15

  
16
   <tr>
17
    <td>
18
     <table>
19
      <tr>
20
       <th class="listheading">&nbsp;</th>
21
       <th class="listheading">[% 'Date' | $T8 %]</th>
22
       <th class="listheading">[% 'Description' | $T8 %]</th>
23
       <th class="listheading">[% 'Employee' | $T8 %]</th>
24
      </tr>
25

  
26
      [% FOREACH row = DRAFTS %]
27
       <tr class="listrow[% loop.count % 2 %]">
28
        <td><input type="checkbox" name="checked_[% row.id %]" value="1"></td>
29
        <td>[% HTML.escape(row.itime) %]</td>
30
        <td><a href="[% HTML.url(script) %]?action=load_draft&id=[% HTML.url(row.id) %]">[% HTML.escape(row.description) %]</a></td>
31
        <td>[% HTML.escape(row.employee_name) %]</td>
32
       </tr>
33
      [% END %]
34
     </table>
35
    </td>
36
   </tr>
37

  
38
   <tr>
39
    <td>
40
     <input type="hidden" name="action" value="draft_action_dispatcher">
41
     <input type="submit" class="submit" name="draft_action" value="[% 'Skip' | $T8 %]">
42
     <input type="submit" class="submit" name="draft_action" value="[% 'Delete drafts' | $T8 %]">
43
    </td>
44
   </tr>
45
  </table>
46

  
47
 </form>

Auch abrufbar als: Unified diff