This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository fateserver.

commit 3df9447d1086c32a5416d508dc70921ef2267c64
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Aug 11 23:24:52 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Aug 12 00:21:14 2026 +0200

    report,history: link the warning count to the warnings view
    
    The index already links it, do the same on the report page and in the
    slot history.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 history.cgi | 5 ++++-
 report.cgi  | 8 +++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/history.cgi b/history.cgi
index 5e4f007..0f55404 100755
--- a/history.cgi
+++ b/history.cgi
@@ -73,7 +73,10 @@ for my $date ((sort { $b cmp $a } @reps)[0..49]) {
     td $$rep{subarch} || $$rep{arch};
     td $$rep{os};
     td $$rep{cc};
-    td $$rep{nwarn};
+    start 'td';
+    anchor $$rep{nwarn},
+        href => href slot => $$rep{slot}, time => $$rep{date}, log => 
'warnings';
+    end 'td';
     if ($npass) {
         $rtext  = "$npass / $ntest";
         $rclass = $$rep{status}==0? 'pass' : $npass? 'warn' : 'fail';
diff --git a/report.cgi b/report.cgi
index c9ffae5..771d610 100755
--- a/report.cgi
+++ b/report.cgi
@@ -108,7 +108,13 @@ if ($gitweb and $$hdr{rev} =~ /(N-)?(.*)/) {
 end 'tr';
 trow 'Date',          asctime gmtime parse_date $$hdr{date};
 trow 'Status',        $npass? "$npass / $ntest" : "$$hdr{errstr} 
($$hdr{status})";
-trow 'Warnings',      $$rep{nwarn};
+start 'tr';
+td 'Warnings';
+start 'td';
+anchor $$rep{nwarn},
+    href => href slot => $$hdr{slot}, time => $$hdr{date}, log => 'warnings';
+end 'td';
+end 'tr';
 start 'tr';
 td 'Logs';
 start 'td';

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to