guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: hydra: status: Simplify package group id calculation.


From: Danny Milosavljevic
Subject: 01/03: hydra: status: Simplify package group id calculation.
Date: Sat, 5 May 2018 08:54:41 -0400 (EDT)

dannym pushed a commit to branch master
in repository maintenance.

commit 2031507bd46060b532c581b83dd016be3e875977
Author: Danny Milosavljevic <address@hidden>
Date:   Sat May 5 14:32:24 2018 +0200

    hydra: status: Simplify package group id calculation.
    
    * hydra/nginx/html/status/index.html: Simplify package group id calculation.
---
 hydra/nginx/html/status/index.html | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/hydra/nginx/html/status/index.html 
b/hydra/nginx/html/status/index.html
index 0feabeb..cbc8097 100644
--- a/hydra/nginx/html/status/index.html
+++ b/hydra/nginx/html/status/index.html
@@ -299,15 +299,12 @@ function cpackagegroupid(datanode) {
        let s = datanode.job;
        let buildstatus = datanode.buildstatus;
        let i = s.lastIndexOf(".");
-       let s_buildstatus = isBuildstatusQueued(buildstatus) ? "queued." : 
"finished.";
-       // Strip off ".i686-linux" etc.
-       return s_buildstatus + s.substring(0, i);
+       return s.substring(0, i);
 }
 
 /* Given a cpackagegroupid, returns a human-readable label for it. */
 function cpackagegrouplabel(id) {
-       let i = id.indexOf(".");
-       return id.substring(i + 1);
+       return id;
 }
 
 /** Update filtered tables */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]