trivial: add uppercase to edit button (#65735)
This commit is contained in:
parent
714c5109c6
commit
b28d09d175
|
@ -17,7 +17,7 @@
|
|||
<span class="actions">
|
||||
<a class="extra-actions-menu-opener"></a>
|
||||
{% if object|can_edit:request.user %}
|
||||
<a rel="popup" href="{{ object.get_edit_url }}">{% trans 'edit' %}</a>
|
||||
<a rel="popup" href="{{ object.get_edit_url }}">{% trans 'Edit' %}</a>
|
||||
{% endif %}
|
||||
{% block actions %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -333,7 +333,7 @@ def test_manager(db, app, admin_user, connector):
|
|||
connector.save()
|
||||
login(app)
|
||||
resp = app.get(url)
|
||||
resp = resp.click('edit')
|
||||
resp = resp.click('Edit')
|
||||
assert resp.html.find('div', {'id': 'id_secret_key_p'}).input['value'] == 'yyy'
|
||||
resp = resp.form.submit()
|
||||
assert (
|
||||
|
@ -346,7 +346,7 @@ def test_manager(db, app, admin_user, connector):
|
|||
|
||||
# accept an empty key
|
||||
resp = app.get(url)
|
||||
resp = resp.click('edit')
|
||||
resp = resp.click('Edit')
|
||||
assert resp.html.find('div', {'id': 'id_secret_key_p'}).input['value'] == '8 bytes!'
|
||||
resp.form['secret_key'] = ''
|
||||
resp = resp.form.submit()
|
||||
|
|
Loading…
Reference in New Issue