0001-trivial-add-uppercase-to-edit-button-65735.patch
passerelle/templates/passerelle/manage/service_view.html | ||
---|---|---|
17 | 17 |
<span class="actions"> |
18 | 18 |
<a class="extra-actions-menu-opener"></a> |
19 | 19 |
{% if object|can_edit:request.user %} |
20 |
<a rel="popup" href="{{ object.get_edit_url }}">{% trans 'edit' %}</a>
|
|
20 |
<a rel="popup" href="{{ object.get_edit_url }}">{% trans 'Edit' %}</a>
|
|
21 | 21 |
{% endif %} |
22 | 22 |
{% block actions %} |
23 | 23 |
{% endblock %} |
tests/test_esirius.py | ||
---|---|---|
333 | 333 |
connector.save() |
334 | 334 |
login(app) |
335 | 335 |
resp = app.get(url) |
336 |
resp = resp.click('edit')
|
|
336 |
resp = resp.click('Edit')
|
|
337 | 337 |
assert resp.html.find('div', {'id': 'id_secret_key_p'}).input['value'] == 'yyy' |
338 | 338 |
resp = resp.form.submit() |
339 | 339 |
assert ( |
... | ... | |
346 | 346 | |
347 | 347 |
# accept an empty key |
348 | 348 |
resp = app.get(url) |
349 |
resp = resp.click('edit')
|
|
349 |
resp = resp.click('Edit')
|
|
350 | 350 |
assert resp.html.find('div', {'id': 'id_secret_key_p'}).input['value'] == '8 bytes!' |
351 | 351 |
resp.form['secret_key'] = '' |
352 | 352 |
resp = resp.form.submit() |
353 |
- |