]> git.ipfire.org Git - pbs.git/commitdiff
builds: Show the repos block all the time
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 May 2023 16:19:27 +0000 (16:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 May 2023 16:19:27 +0000 (16:19 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/builds/show.html

index 56178b588951e89c0e8f7384ba9125732fa18021..862f97c16b6db8989a7401e3268203446e69b006 100644 (file)
        {% end %}
 
        {# Repos #}
-       {% if build.repos %}
+       {% if not build.is_test() %}
                <section class="section">
                        <div class="container">
                                <h5 class="title is-5">{{ _("Repositories") }}</h5>
 
-                               {% module ReposList(build.repos, build=build) %}
+                               {% if build.repos %}
+                                       {% module ReposList(build.repos, build=build) %}
+                               {% end %}
 
                                {% if build.owner and build.has_perm(current_user) %}
                                        <div class="buttons">