community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1728992 - /comdev/helpwanted.apache.org/site/js/hw.js
Date Sun, 07 Feb 2016 17:25:47 GMT
Author: humbedooh
Date: Sun Feb  7 17:25:47 2016
New Revision: 1728992

URL: http://svn.apache.org/viewvc?rev=1728992&view=rev
Log:
remove parens, add some spacing between languages

Modified:
    comdev/helpwanted.apache.org/site/js/hw.js

Modified: comdev/helpwanted.apache.org/site/js/hw.js
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/js/hw.js?rev=1728992&r1=1728991&r2=1728992&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/js/hw.js (original)
+++ comdev/helpwanted.apache.org/site/js/hw.js Sun Feb  7 17:25:47 2016
@@ -279,7 +279,7 @@ function displayItems(json, state) {
         var z = parseInt(i)+1
         var ptype = item.type.replace(/\s+/g, "")
         var cdate = new Date(item.created*1000).toLocaleString()
-        var lingos = (item.languages != 'n/a') ? "(" + item.languages + ") " : ""
+        var lingos = (item.languages != 'n/a') ? item.languages.split(",").join(", ") : ""
         
         // admin stuff
         var add = ""



Mime
View raw message