]> git.ipfire.org Git - pbs.git/commitdiff
packages: Move controls above the bug list
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Oct 2022 16:37:51 +0000 (16:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Oct 2022 16:37:51 +0000 (16:37 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/packages/name.html

index ee62462fcc4914f08e3885a84040abcccb0b5d6d..2d58c560c861f2cedbed8646f6355e83b6698ead 100644 (file)
                <div class="block">
                        <h4 class="title is-4">{{ _("Open Bugs") }}</h4>
 
-                       {% module BugsList(bugs) %}
-               </div>
+                       <div class="buttons are-small">
+                               <a class="button is-info is-outlined" href="{{ backend.bugzilla.list_url(package.name) }}">
+                                       {{ _("Show All Bugs in Bugzilla") }}
+                               </a>
 
-               <div class="block">
-                       <div class="buttons">
                                <a class="button is-success" href="{{ backend.bugzilla.enter_url(package.name) }}">
                                        {{ _("File A New Bug") }}
                                </a>
-
-                               <a class="button is-info is-outlined" href="{{ backend.bugzilla.list_url(package.name) }}">
-                                       {{ _("Show All Bugs in Bugzilla") }}
-                               </a>
                        </div>
+
+                       {% module BugsList(bugs) %}
                </div>
        {% end %}
 {% end block %}