Zwei neue Features:
[kivitendo-erp.git] / templates / webpages / fu / edit_access_rights_master.html
1 [% USE HTML %]
2 <body>
3
4  [%- IF SAVED_MESSAGE %]
5  <p>[% SAVED_MESSAGE %]</p>
6  [%- END %]
7
8  <div class="listtop">[% title %]</div>
9
10  <p><translate>Allow the following users access to my follow-ups:</translate></p>
11
12  <form action="fu.pl" method="post" name="Form">
13   <p>
14    <table>
15     <tr>
16      <td class="listheading"><translate>User</translate></td>
17      <td class="listheading"><translate>Allow access</translate></td>
18     </tr>
19
20     [%- FOREACH row = EMPLOYEES %]
21     [%- UNLESS row.login == login %]
22     <input type="hidden" name="employee_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
23
24     <tr class="listrow[% loop.count % 2 %]">
25      <td>[% IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]</td>
26      <td>
27       <input type="radio" id="access_[% HTML.escape(row.id) %]_yes" name="access_[% HTML.escape(row.id) %]" value="1"[% IF row.access %] checked[% END %]>
28       <label for="access_[% HTML.escape(row.id) %]_yes"><translate>Yes</translate></label>
29       <input type="radio" id="access_[% HTML.escape(row.id) %]_no" name="access_[% HTML.escape(row.id) %]" value=""[% UNLESS row.access %] checked[% END %]>
30       <label for="access_[% HTML.escape(row.id) %]_no"><translate>No</translate></label>
31      </td>
32     </tr>
33     [%- END %]
34     [%- END %]
35    </table>
36   </p>
37
38   <input type="hidden" name="rowcount" value="[% EMPLOYEES.size %]">
39   <input type="hidden" name="save_nextsub" value="save_access_rights">
40
41   <p>
42    <input type="submit" class="submit" name="action" value="<translate>Save</translate>">
43   </p>
44
45  </form>
46 </body>
47 </html>