templates: use Fetch image as text for the Cache image button

Use "Fetch image" as text for the button to access the view
where the user selects images to add to cache.
master
Alejandro Sirgo Rica 2024-08-30 13:49:49 +02:00
parent 31766a3d07
commit 78a26f947f
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
<h2 class="mx-5 subhead-heading">
{{ _('Cache image in %(ip_count)d computer(s)', ip_count=ip_count) }}
{{ _('Fetch image in %(ip_count)d computer(s)', ip_count=ip_count) }}
</h2>
{{ macros.cmd_selected_clients(selected_clients) }}

View File

@ -76,7 +76,7 @@
{% endif %}
<input class="btn btn-light dropdown-item{% block nav_image_restore %}{% endblock %}" type="submit" value="{{ _('Restore image') }}"
form="scopesForm" formaction="{{ url_for('action_image_restore') }}" formmethod="get">
<input class="btn btn-light dropdown-item{% block nav_image_fetch %}{% endblock %}" type="submit" value="{{ _('Cache image') }}"
<input class="btn btn-light dropdown-item{% block nav_image_fetch %}{% endblock %}" type="submit" value="{{ _('Fetch image') }}"
form="scopesForm" formaction="{{ url_for('action_image_fetch') }}" formmethod="get">
</div>
</div>