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


The following commit(s) were added to refs/heads/master by this push:
     new ce336fd  this needs to use the HTML class
ce336fd is described below

commit ce336fd5f9149080fb53dcdf5dc3a3cec7afb795
Author: Daniel Gruno <humbed...@apache.org>
AuthorDate: Tue Feb 13 17:33:35 2018 +0100

    this needs to use the HTML class
---
 ui/js/coffee/widget_comstat.coffee | 8 ++++----
 ui/js/kibble.v1.js                 | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ui/js/coffee/widget_comstat.coffee 
b/ui/js/coffee/widget_comstat.coffee
index a6158a9..907fab4 100644
--- a/ui/js/coffee/widget_comstat.coffee
+++ b/ui/js/coffee/widget_comstat.coffee
@@ -63,14 +63,14 @@ comstat = (json, state) ->
                 person = json.bios[person].bio
                 dstyle = 'show'
                 if i == 6
-                    m = json.stats.issues.newcomers.length - 7
+                    m = json.stats.issues.newcomers.length - 6
                     tr = mk('tr', {scope: 'row', id: 'comstat_code_more'}, [
                         mk('td', {colspan: "3"}, new HTML('a', { href: 
'javascript:void(comShow("code"));'}, "+#{m} more..."))
                         ])
                     tb.inject(tr)
                     dstyle = "none"
 
-                tr = mk('tr', {scope: 'row', id: "comstat_code_#{i}", style: { 
display: dstyle}}, [
+                tr = new HTML('tr', {scope: 'row', id: "comstat_code_#{i}", 
style: { display: dstyle}}, [
                     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),
@@ -128,14 +128,14 @@ comstat = (json, state) ->
                 person = json.bios[person].bio
                 dstyle = 'show'
                 if i == 6
-                    m = json.stats.issues.newcomers.length - 7
+                    m = json.stats.issues.newcomers.length - 6
                     tr = mk('tr', {scope: 'row', id: 'comstat_issue_more'}, [
                         mk('td', {colspan: "3"}, new HTML('a', { href: 
'javascript:void(comShow("issue"));'}, "+#{m} more..."))
                         ])
                     tb.inject(tr)
                     dstyle = "none"
 
-                tr = mk('tr', {scope: 'row', id: "comstat_issue_#{i}", style: 
{ display: dstyle}}, [
+                tr = new HTML('tr', {scope: 'row', id: "comstat_issue_#{i}", 
style: { display: dstyle}}, [
                     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),
diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 1962b3f..271feaa 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -5380,7 +5380,7 @@ comstat = function(json, state) {
         person = json.bios[person].bio;
         dstyle = 'show';
         if (i === 6) {
-          m = json.stats.issues.newcomers.length - 7;
+          m = json.stats.issues.newcomers.length - 6;
           tr = mk('tr', {
             scope: 'row',
             id: 'comstat_code_more'
@@ -5394,7 +5394,7 @@ comstat = function(json, state) {
           tb.inject(tr);
           dstyle = "none";
         }
-        tr = mk('tr', {
+        tr = new HTML('tr', {
           scope: 'row',
           id: "comstat_code_" + i,
           style: {
@@ -5486,7 +5486,7 @@ comstat = function(json, state) {
         person = json.bios[person].bio;
         dstyle = 'show';
         if (i === 6) {
-          m = json.stats.issues.newcomers.length - 7;
+          m = json.stats.issues.newcomers.length - 6;
           tr = mk('tr', {
             scope: 'row',
             id: 'comstat_issue_more'
@@ -5500,7 +5500,7 @@ comstat = function(json, state) {
           tb.inject(tr);
           dstyle = "none";
         }
-        tr = mk('tr', {
+        tr = new HTML('tr', {
           scope: 'row',
           id: "comstat_issue_" + i,
           style: {

-- 
To stop receiving notification emails like this one, please contact
humbed...@apache.org.

Reply via email to