UPD: dav_events: added ids to some buttons to find them for selenium

tests.
This commit is contained in:
2019-03-21 17:58:32 +01:00
parent b45aa9688d
commit ff32ffbc1e
6 changed files with 16 additions and 17 deletions

View File

@@ -121,7 +121,7 @@
</a>
{% endif %}
{% if has_permission_accept %}
<a class="btn {% if is_submitted and not is_accepted %}btn-success{% else %}btn-default disabled{% endif %}"
<a id="btn-accept" class="btn {% if is_submitted and not is_accepted %}btn-success{% else %}btn-default disabled{% endif %}"
data-toggle="modal" data-target="#modal-accept-dialog">
{% if is_accepted %}
{% bootstrap_icon 'check' %}&thinsp;
@@ -132,7 +132,7 @@
</a>
{% endif %}
{% if has_permission_publish %}
<a class="btn {% if is_accepted and not is_publishing and not is_published %}btn-success{% else %}btn-default disabled{% endif %}"
<a id="btn-confirmpublication" class="btn {% if is_accepted and not is_publishing and not is_published %}btn-success{% else %}btn-default disabled{% endif %}"
data-toggle="modal" data-target="#modal-confirmpublication-dialog">
{% if is_publishing_any %}
{% bootstrap_icon 'check' %}&thinsp;