issue: move photo icon before replies
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 5 Jan 2020 21:18:06 +0000 (22:18 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 9 Jan 2020 10:31:26 +0000 (11:31 +0100)
Most common parts last for more stable appearance.

issue/index.php

index 3f665db3456ea9e859dbc5b1d44b66aa6512bedf..6aebf8e2ff5032317adcab4e6b5322b86392d0f8 100644 (file)
@@ -82,15 +82,15 @@ while ($row = $query->fetch()) {
                        showdate(array_slice(preg_split('/\D/', $row->updated), 0, 3))
                );
        }
-       if ($row->imagecount) {
-               print ' <span class="right icon icon-camera" title="afbeeldingen">&#x1F4F7;</span>';
-       }
        if ($row->replycount) {
                printf(' <span class=right>%s %d</span>',
                        '<span class="icon icon-comment" title="reacties">&#x1F5E8;</span>',
                        $row->replycount
                );
        }
+       if ($row->imagecount) {
+               print ' <span class="right icon icon-camera" title="afbeeldingen">&#x1F4F7;</span>';
+       }
        if (isset($row->assign)) {
                print ' <em class="right">'.$row->assign.'</em>';
        }