-
Senior Member
Subprojects - WCG Beta Badge doesn't exist (null)
On the subprojects, the WCG Beta Badge doesn't seem to be properly referenced and shows a placeholder icon and references:
http://stats6.free-dc.org/images/bwcg/null
Here's the images for quick reference:
http://signature.statseb.fr/index.py?badge=57
~Y
-
Senior Member
The badge exists, it is just that you have not enough days/hours/minutes on the subproject. You need 14 days for a bronze badge and you have 0:3:4:40:10: (3 days, 4 minutes, 40.10 seconds)
http://stats.free-dc.org/stats.php?p...j=Beta+Testing
-
Senior Member
Which is the point. It shouldn't be coming up at all if I or anybody else hasn't the appropriate requirements but it is and thus shows as broken.
-
Administrator
I'm not entirely sure why it returns null there given this code.
{ "sClass": "center", // badge
"aTargets": [ 14 ],
"mRender": function (data, type, row) {
if ( data == "null" )
{ return ''; }
else {return '<img src="/images/'+row[1]+'/'+data+'">'; }
},
},
though I can fix it by deleting the null rows out of the table as they should not be there in the first place.
-
Administrator
I'm not entirely sure why it returns null there given this code.
{ "sClass": "center", // badge
"aTargets": [ 14 ],
"mRender": function (data, type, row) {
if ( data == "null" )
{ return ''; }
else {return '<img src="/images/'+row[1]+'/'+data+'">'; }
},
},
though I can fix it by deleting the null rows out of the table as they should not be there in the first place.
-
Senior Member
Is it right that I count 3x { and 4x } ? no, that's not right there are 4 of each, sorry.
Last edited by Dirk Broer; 02-16-2017 at 07:09 AM.
-
Administrator
I think I fixed it.. works.
if ( !data )
{ return ''; }
else
{ return '<img src="/images/'+row[1]+'/'+data+'">'; }
},
-
Administrator
I think I fixed it.. works.
if ( !data )
{ return ''; }
else
{ return '<img src="/images/'+row[1]+'/'+data+'">'; }
},
-
Senior Member
You're double-posting did you finally manage to clone yourself Bok or did you just go the Zaphod route?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules