annotate kallithea/templates/admin/users/user_edit_ips.html @ 8998:a80ac2033a8a draft i18n tip

i18n: updated translation for Greek Currently translated at 100.0% (1082 of 1082 strings)
author Aristotelis Stageiritis <aristotelis79@gmail.com>
date Sun, 07 Apr 2024 08:07:49 +0200
parents 93834966ae01
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6422
1f02a239c23c style: use panel, panel-heading, panel-title, panel-body and settings
Mads Kiilerich <mads@kiilerich.com>
parents: 6420
diff changeset
1 <table class="table">
7686
93834966ae01 auth: global permissions given to the default user are the bare minimum and should apply to *all* other users too
Mads Kiilerich <mads@kiilerich.com>
parents: 7646
diff changeset
2 %if c.default_user_ip_map:
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
3 %for ip in c.default_user_ip_map:
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
4 <tr>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
5 <td><div class="ip">${ip.ip_addr}</div></td>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
6 <td><div class="ip">${h.ip_range(ip.ip_addr)}</div></td>
7646
7aff9a999536 templates, controllers: replace webhelpers.html.literal() with webhelpers.html.HTML() where possible
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents: 7093
diff changeset
7 <td>${h.HTML(_('Inherited from %s')) % h.link_to('*default*',h.url('admin_permissions_ips'))}</td>
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
8 </tr>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
9 %endfor
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
10 %endif
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
11
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
12 %if c.user_ip_map:
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
13 %for ip in c.user_ip_map:
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
14 <tr>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
15 <td><div class="ip">${ip.ip_addr}</div></td>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
16 <td><div class="ip">${h.ip_range(ip.ip_addr)}</div></td>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
17 <td>
6081
4b4aab8082b7 routing: introduce 'edit_user_ips_delete' url and use POST instead of DELETE
Mads Kiilerich <madski@unity3d.com>
parents: 5127
diff changeset
18 ${h.form(url('edit_user_ips_delete', id=c.user.user_id))}
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
19 ${h.hidden('del_ip_id',ip.ip_id)}
7093
73406e83b038 icons: replace icon-minus-circled with icon-trashcan if it means deleting
domruf <dominikruf@gmail.com>
parents: 6723
diff changeset
20 <i class="icon-trashcan"></i>
5127
86b1f3cfe836 spelling: fix title casing on various translated strings
Mads Kiilerich <madski@unity3d.com>
parents: 5125
diff changeset
21 ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id,
6674
88ce09daea37 style: remove most of the explicit styles - it should now be good enough in CSS ... and Bootstrap will soon improve it further
Mads Kiilerich <mads@kiilerich.com>
parents: 6422
diff changeset
22 class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this IP address: %s') % ip.ip_addr+"');")}
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
23 ${h.end_form()}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
24 </td>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
25 </tr>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
26 %endfor
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
27 %endif
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
28 %if not c.default_user_ip_map and not c.user_ip_map:
4527
dacdea9fda2a Correct capitalization and improved English text in the UI
Na'Tosha Bard <natosha@unity3d.com>
parents: 4187
diff changeset
29 <tr><td><div class="ip">${_('All IP addresses are allowed.')}</div></td></tr>
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
30 %endif
6422
1f02a239c23c style: use panel, panel-heading, panel-title, panel-body and settings
Mads Kiilerich <mads@kiilerich.com>
parents: 6420
diff changeset
31 </table>
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
32
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
33 <div>
6095
60bf1b171015 routing: use POST to 'edit_user_ips_update' instead of PUT
Mads Kiilerich <madski@unity3d.com>
parents: 6081
diff changeset
34 ${h.form(url('edit_user_ips_update', id=c.user.user_id))}
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
35 <div class="form">
6289
68d3315c48d4 style: whitespace fixes in templates - make indentation more consistent and reduce future churn
Mads Kiilerich <madski@unity3d.com>
parents: 6284
diff changeset
36 <div class="form-group">
6284
d1923cd0521c style: refactor form label styling to prepare for Bootstrap and get rid of wrapping with 'label' class
Mads Kiilerich <madski@unity3d.com>
parents: 6283
diff changeset
37 <label class="control-label" for="new_ip">${_('New IP address')}:</label>
6351
dd42c2ad28d7 style: drop 'input' class inside 'form-group'
Mads Kiilerich <mads@kiilerich.com>
parents: 6345
diff changeset
38 <div>
6345
67e53a272e1a templates: use Bootstrap compatible 'form-control' name instead of 'medium' & co
domruf <dominikruf@gmail.com>
parents: 6289
diff changeset
39 ${h.text('new_ip', class_='form-control')}
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
40 </div>
6289
68d3315c48d4 style: whitespace fixes in templates - make indentation more consistent and reduce future churn
Mads Kiilerich <madski@unity3d.com>
parents: 6284
diff changeset
41 </div>
6283
d27572fa323c style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Mads Kiilerich <madski@unity3d.com>
parents: 6282
diff changeset
42 <div class="form-group">
d27572fa323c style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Mads Kiilerich <madski@unity3d.com>
parents: 6282
diff changeset
43 <div class="buttons">
d27572fa323c style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Mads Kiilerich <madski@unity3d.com>
parents: 6282
diff changeset
44 ${h.submit('save',_('Add'),class_="btn btn-default")}
d27572fa323c style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Mads Kiilerich <madski@unity3d.com>
parents: 6282
diff changeset
45 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
d27572fa323c style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Mads Kiilerich <madski@unity3d.com>
parents: 6282
diff changeset
46 </div>
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
47 </div>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
48 </div>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
49 ${h.end_form()}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
diff changeset
50 </div>