portal-agent: allow phone-calls cell title and info notice texts override (#72905)

This commit is contained in:
Serghei Mihai 2023-01-03 11:37:21 +01:00 committed by Gitea
parent ab55513dd4
commit 6c923a2b31
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{% load combo %}
<h2>Appels{% if callee %} (ligne {{callee}}){% endif %}</h2>
<h2>{% block title %}Appels{% if callee %} (ligne {{callee}}){% endif %}{% endblock %}</h2>
<script>
function set_caller(caller) {
@ -43,13 +43,13 @@
<form>
{% if not callee %}
<div class="infonotice">
Indiquer le numéro de ligne à suivre.
{% block info-notice %}Indiquer le numéro de ligne à suivre.{% endblock %}
</div>
{% endif %}
<input {% if callee %}type="hidden"{% else %}type="text"{% endif %} name="callee" value="{{ callee }}">
{% if not callee %}<button></button>{% endif %}
</form>
{% if callee %}<button class="release-line">Ne plus suivre la ligne {{callee}}</button>{% endif %}
{% if callee %}<button class="release-line">{% block release-line-button-text %}Ne plus suivre la ligne {{callee}}{% endblock %}</button>{% endif %}
</div>
<script>