c2389cfa1ff5bb2a5f8e1bf4532e9f07e4f2fab5
[kivitendo-erp.git] / templates / webpages / fu / edit_access_rights.html
1 [%- USE T8 %]
2 [% USE HTML %]
3 <h1>[% title %]</h1>
4
5
6  [%- IF SAVED_MESSAGE %]
7  <p>[% SAVED_MESSAGE %]</p>
8  [%- END %]
9
10  <p>[% 'Allow the following users access to my follow-ups:' | $T8 %]</p>
11
12  <form action="fu.pl" method="post" name="Form" id="form">
13   <p>
14    <table>
15     <tr>
16      <td class="listheading">[% 'User' | $T8 %]</td>
17      <td class="listheading">[% 'Allow access' | $T8 %]</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">[% 'Yes' | $T8 %]</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">[% 'No' | $T8 %]</label>
31      </td>
32     </tr>
33     [%- END %]
34     [%- END %]
35    </table>
36   </p>
37
38   <input type="hidden" name="rowcount" value="[% EMPLOYEES.size %]">
39  </form>