aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
index 448c451..2c695d0 100644
--- a/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
@@ -152,7 +152,8 @@ in a proprietary work, I am not going to enforce this in court.
</p>
{% set button_text = _('web_ui.repos.single.refresh_now_button') %}
- {{ button_row([[['green-button'], button_text, 'refresh_repo']]) }}
+ {% set extra_fields = {'action': 'refresh_repo'} %}
+ {{ button_row([(['green-button'], button_text, extra_fields)]) }}
</div>
<div class="horizontal-separator"></div>
@@ -171,6 +172,7 @@ in a proprietary work, I am not going to enforce this in court.
<div class="horizontal-separator"></div>
{% set button_text = _('web_ui.repos.single.remove_button') %}
- {{ button_row([[['green-button'], button_text, 'remove_repo']]) }}
+ {% set extra_fields = {'action': 'remove_repo'} %}
+ {{ button_row([(['green-button'], button_text, extra_fields)]) }}
{% endif %}
{% endblock %}