This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 823d3e93870481793d99443719eadaebf4182fb2 Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Tue Feb 13 17:06:43 2018 +0100 convert 'first issue' to a date/issue string --- ui/js/coffee/widget_comstat.coffee | 3 ++- ui/js/kibble.v1.js | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ui/js/coffee/widget_comstat.coffee b/ui/js/coffee/widget_comstat.coffee index 299e3da..06cb813 100644 --- a/ui/js/coffee/widget_comstat.coffee +++ b/ui/js/coffee/widget_comstat.coffee @@ -114,6 +114,7 @@ comstat = (json, state) -> url = json.bios[person].issue[1].url key = json.bios[person].issue[1].key || url person = json.bios[person].bio + wh = new Date(json.bios[person].code[0] * 1000.0).toDateSTring() if i > 6 m = json.stats.issues.newcomers.length - 7 tr = mk('tr', {scope: 'row'}, [ @@ -126,7 +127,7 @@ comstat = (json, state) -> mk('td', {}, new HTML('img', {style: { width: '32px', height: '32px'}, class: "img-circle img-responsive", src:"https://secure.gravatar.com/avatar/#{person.md5}.png?d=identicon"})), mk('td', {}, mk('a', { href: "?page=people&email=#{oemail}"}, person.name)), mk('td', {}, oemail), - mk('td', {}, mk('a', { href: url||"#"}, txt(key))), + mk('td', {}, ["#{wh} (", mk('a', { href: url||"#"}, txt(key)), ")"]), ]) tb.inject(tr) app(tbl, tb) diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js index f3b07f6..7f4c92a 100644 --- a/ui/js/kibble.v1.js +++ b/ui/js/kibble.v1.js @@ -5453,6 +5453,7 @@ comstat = function(json, state) { url = json.bios[person].issue[1].url; key = json.bios[person].issue[1].key || url; person = json.bios[person].bio; + wh = new Date(json.bios[person].code[0] * 1000.0).toDateSTring(); if (i > 6) { m = json.stats.issues.newcomers.length - 7; tr = mk('tr', { @@ -5477,9 +5478,11 @@ comstat = function(json, state) { src: "https://secure.gravatar.com/avatar/" + person.md5 + ".png?d=identicon" })), mk('td', {}, mk('a', { href: "?page=people&email=" + oemail - }, person.name)), mk('td', {}, oemail), mk('td', {}, mk('a', { - href: url || "#" - }, txt(key))) + }, person.name)), mk('td', {}, oemail), mk('td', {}, [ + wh + " (", mk('a', { + href: url || "#" + }, txt(key)), ")" + ]) ]); tb.inject(tr); } -- To stop receiving notification emails like this one, please contact humbed...@apache.org.