Merge pull request #228 from teaxyz/stat-subtitle-fix

Statistic Subtitle Fix
This commit is contained in:
Chris Waters 2022-12-16 12:56:55 -05:00 committed by GitHub
commit df3f1fd4fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -211,7 +211,7 @@
<div class="metric-block" style="float:right; margin-top:-300px;"> <div class="metric-block" style="float:right; margin-top:-300px;">
<p class="stat-head">NUMBER OF REPOS</p> <p class="stat-head">NUMBER OF REPOS</p>
<p class="stat-number teal" id="stat-one"></p> <p class="stat-number teal" id="stat-one"></p>
<p class="small gray stat-small-text">Number of rated repos owned by tea&#8208;authenticated developers.</p> <p class="gray stat-small-text">Number of rated repos owned by tea&#8208;authenticated developers.</p>
</div> </div>
<div class="gen-art-mobile" id="m-gen-art-3"></div> <div class="gen-art-mobile" id="m-gen-art-3"></div>
<div class="gen-art-mobile" id="m-gen-art-4"></div> <div class="gen-art-mobile" id="m-gen-art-4"></div>
@ -219,7 +219,7 @@
<div class="metric-block mb-5 mt-4"> <div class="metric-block mb-5 mt-4">
<p class="stat-head">AUTHENTICATED DEVS</p> <p class="stat-head">AUTHENTICATED DEVS</p>
<p class="stat-number teal"><span id="count2"></span></p> <p class="stat-number teal"><span id="count2"></span></p>
<p class="small gray stat-small-text">This is the number of OSS developers who have chosen to join the battle for the future of the internet.</p> <p class="gray stat-small-text">This is the number of OSS developers who have chosen to join the battle for the future of the internet.</p>
</div> </div>
<div class="gen-art-mobile" id="m-gen-art-5"></div> <div class="gen-art-mobile" id="m-gen-art-5"></div>
<div class="gen-art-mobile" id="m-gen-art-6"></div> <div class="gen-art-mobile" id="m-gen-art-6"></div>
@ -227,7 +227,7 @@
<div class="metric-block" style="float:right;"> <div class="metric-block" style="float:right;">
<p class="stat-head">TEA MAINTAINERS</p> <p class="stat-head">TEA MAINTAINERS</p>
<p class="stat-number teal" id="stat-two"></p> <p class="stat-number teal" id="stat-two"></p>
<p class="small gray stat-small-text">Number of tea-maintainers for those 2042 packages.</p> <p class="gray stat-small-text">Number of tea-maintainers for those <span id="stat-one-small"></span> repos.</p>
</div> </div>
<div class="gen-art-mobile" id="m-gen-art-7"></div> <div class="gen-art-mobile" id="m-gen-art-7"></div>
<div class="gen-art-mobile" id="m-gen-art-8"></div> <div class="gen-art-mobile" id="m-gen-art-8"></div>

View file

@ -90,6 +90,7 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
$('#count6').html(signups) $('#count6').html(signups)
$('#count7').html(signups) $('#count7').html(signups)
$('#stat-one').html(res.repos ? res.repos.toLocaleString() : "") $('#stat-one').html(res.repos ? res.repos.toLocaleString() : "")
$('#stat-one-small').html(res.repos ? res.repos.toLocaleString() : "")
$('#stat-two').html(res.maintainers ? res.maintainers.toLocaleString() : "") $('#stat-two').html(res.maintainers ? res.maintainers.toLocaleString() : "")
}) })
} catch (e) { } catch (e) {