issue/activity: author footer below messages
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 16 Jan 2021 14:23:04 +0000 (15:23 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 27 Apr 2021 00:48:25 +0000 (02:48 +0200)
Dashboard styling for small citations.

widget/issue/activity.php

index f986a53de5653d46a71774df380fa6f8af733149..f09cdc742fd492d2b1178070e6361e79dd84c07f 100644 (file)
@@ -24,13 +24,15 @@ while ($row = $query->fetch()) {
                print '</dt>';
        }
        print '<dd>';
+       printf("<blockquote>%s</blockquote>\n\t", $row->message);
+       print '<span class="right">';
        if ($row->author and $rowuser = new User("profile/{$row->author}")) {
                printf('<strong>%s</strong> ', $rowuser->html);
        }
        printf('<small class="date">%s</small>',
                showdate(preg_split('/\D/', $row->created))
        );
-       printf("\n\t<blockquote>%s</blockquote>", $row->message);
+       print "</span>";
        print "</dd>\n";
 }