Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 027157f9

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 027157f96627e9959d2464c626ae5c587ffe788f
  • Vorgänger 21e851b6
  • Nachfolger 4cecc00e

Neues Design 2019 Standard-Code templates/webpages/fu/

Unterschiede anzeigen:

templates/webpages/fu/report_for_todo_list.html
1 1
[% USE T8 %]
2 2
[% USE HTML %]
3
<h1>[% 'Unfinished follow-ups' | $T8 %]</h1>
4 3

  
5
<form action="fu.pl" method="post" name="TODOFollowUpsForm">
6
 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
7
 <input type="hidden" name="rowcount" value="[% FOLLOW_UPS.size %]">
4
<div class="wrapper center">
8 5

  
9
  <table width="100%">
10
   <tr>
11
    <td class="listheading">&nbsp;</td>
12
    <td class="listheading">[% 'Follow-Up Date' | $T8 %]</td>
13
    <td class="listheading">[% 'Created on' | $T8 %]</td>
14
    <td class="listheading">[% 'Subject' | $T8 %]</td>
15
    <td class="listheading">[% 'Reference' | $T8 %]</td>
16
    <td class="listheading">[% 'Created by' | $T8 %]</td>
17
   </tr>
6
  <form action="fu.pl" method="post" name="TODOFollowUpsForm">
7
    <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
8
    <input type="hidden" name="rowcount" value="[% FOLLOW_UPS.size %]">
9

  
10
    <table class="tbl-list width-moderate">
11
      <caption>[% 'Unfinished follow-ups' | $T8 %]</caption>
12
      <thead>
13
        <tr>
14
          <th>&nbsp;</th>
15
          <th>[% 'Follow-Up Date' | $T8 %]</th>
16
          <th>[% 'Created on' | $T8 %]</th>
17
          <th>[% 'Subject' | $T8 %]</th>
18
          <th>[% 'Reference' | $T8 %]</th>
19
          <th>[% 'Created by' | $T8 %]</th>
20
        </tr>
21
      </thead>
22
      <tbody>
23
        [% FOREACH row = FOLLOW_UPS %] 
24
        <tr>
25
          <td> 
26
          <input type="hidden" name="follow_up_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
27
          <input type="checkbox" name="selected_[% loop.count %]" value="1">
28
          </td>
29
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.follow_up_date) %]</a></td>
30
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.created_on) %]</a></td>
31
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
32
          <td>[% IF row.reference_link %]<a href="[% row.reference_link | html %]" class="alternative">[% END %][% HTML.escape(row.reference) %][% IF row.reference_link %]</a>[% END %]</td>
33
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.created_by_name) %]</a></td>
34
        </tr>
35
        [% END %] 
36
      </tbody>
37
    </table>
38

  
39
    <div class="buttons">
40
      <input type="hidden" name="action" value="dispatcher">
41
      <input type="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
42
      <input type="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
43
    </div>
44

  
45
  </form>
46
</div>
18 47

  
19
   [%- FOREACH row = FOLLOW_UPS %]
20
   <tr class="listrow[% loop.count % 2 %]">
21
    <td>
22
     <input type="hidden" name="follow_up_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
23
     <input type="checkbox" name="selected_[% loop.count %]" value="1">
24
    </td>
25
    <td>[% HTML.escape(row.follow_up_date) %]</td>
26
    <td>[% HTML.escape(row.created_on) %]</td>
27
    <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
28
    <td>[% IF row.reference_link %]<a href="[% row.reference_link | html %]">[% END %][% HTML.escape(row.reference) %][% IF row.reference_link %]</a>[% END %]</td>
29
    <td>[% HTML.escape(row.created_by_name) %]</td>
30
   </tr>
31
   [%- END %]
32
  </table>
33 48

  
34
 <p>
35
  <input type="hidden" name="action" value="dispatcher">
36
  <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
37
  <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
38
 </p>
39
</form>

Auch abrufbar als: Unified diff