From a6cff5f9ed900b1fbafd197095733fbe2e50acac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dylan=20A=C3=AFssi?= <dylan.aissi@collabora.com> Date: Mon, 15 Jul 2024 15:24:57 +0200 Subject: [PATCH] Add a tooltip explaining the purpose of buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com> --- templates/index.html.jinja2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/index.html.jinja2 b/templates/index.html.jinja2 index 17aab83..adc2621 100644 --- a/templates/index.html.jinja2 +++ b/templates/index.html.jinja2 @@ -190,15 +190,18 @@ {% if meta.new_pipeline_url -%} <ul class="list-inline mr-auto"> <a class="btn btn-primary {{'disabled' if not summary.wrong_settings_count }}" + title="Apply default settings to packages repositories" href="{{- meta.new_pipeline_url -}}&var[TRIGGER_GITLAB_RULEZ]=apply ">Run gitlab-rulez</a> <a class="btn btn-primary {{'disabled' if not summary.total_updates_count }}" + title="Trigger pipelines importing updates" href="{{- meta.new_pipeline_url -}}&var[TRIGGER_UPDATES]=* {%- if meta.current_job_url -%} &var[TRIGGER_FROM_JOB]={{- meta.current_job_url -}} {%- endif -%} ">Update all</a> <a class="btn btn-danger {{'disabled' if not summary.update_errors_count }}" + title="Trigger pipelines importing security updates" href="{{- meta.new_pipeline_url -}}&var[TRIGGER_UPDATES]=*&var[TRIGGER_SECURITY_UPDATES]=1 {%- if meta.current_job_url -%} &var[TRIGGER_FROM_JOB]={{- meta.current_job_url -}} -- GitLab