Skip to content
Snippets Groups Projects
Commit 053085b5 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Reorganize buttons to avoid breaking the structure


Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 27b65051
No related branches found
No related tags found
1 merge request!222trigger-updates: make it compatible with new reports format
Pipeline #736226 canceled
......@@ -49,6 +49,10 @@
{% block summary %}{% endblock %}
</div>
<div class="d-flex align-items-baseline justify-content-between">
{% block buttons %}{% endblock %}
</div>
<div class="d-flex align-items-baseline justify-content-between">
{% block error %}{% endblock %}
</div>
......
......@@ -184,9 +184,11 @@
</div>
</div>
</ul>
{% endblock %}
<div>
{% if meta.new_pipeline_url -%}
{% block buttons %}
{% if meta.new_pipeline_url -%}
<ul class="list-inline mr-auto">
<a class="btn btn-primary {{'disabled' if not summary.wrong_settings_count }}"
href="{{- meta.new_pipeline_url -}}&amp;var[TRIGGER_GITLAB_RULEZ]=apply
">Run gitlab-rulez</a>
......@@ -202,8 +204,8 @@
&amp;var[TRIGGER_FROM_JOB]={{- meta.current_job_url -}}
{%- endif -%}
">Update security</a>
{%- endif %}
</div>
</ul>
{%- endif %}
{% endblock %}
{% block error %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment