mirror of https://github.com/zulip/zulip.git
/team: Fetch zulip-js repository data.
This commit is contained in:
parent
b01b4498cc
commit
cc8942e0dc
|
@ -2,7 +2,7 @@
|
|||
// eslint's error.
|
||||
/* global contributors_list */
|
||||
|
||||
var repos = ['server', 'desktop', 'mobile', 'python-zulip-api', 'zulipbot'];
|
||||
var repos = ['server', 'desktop', 'mobile', 'python-zulip-api', 'zulip-js', 'zulipbot'];
|
||||
|
||||
function contrib_total_commits(contrib) {
|
||||
var commits = 0;
|
||||
|
|
|
@ -948,6 +948,7 @@ input#server:checked ~ #tab-server,
|
|||
input#desktop:checked ~ #tab-desktop,
|
||||
input#mobile:checked ~ #tab-mobile,
|
||||
input#python-zulip-api:checked ~ #tab-python-zulip-api,
|
||||
input#zulip-js:checked ~ #tab-zulip-js,
|
||||
input#zulipbot:checked ~ #tab-zulipbot {
|
||||
border-top: 1px solid #eee;
|
||||
padding-top: 20px;
|
||||
|
|
|
@ -145,6 +145,9 @@
|
|||
<input id="python-zulip-api" type="radio" name="tabs">
|
||||
<label for="python-zulip-api"><i class="fa fa-code" aria-hidden="true"></i> Python API</label>
|
||||
|
||||
<input id="zulip-js" type="radio" name="tabs">
|
||||
<label for="zulip-js"><i class="fa fa-code" aria-hidden="true"></i> JavaScript API</label>
|
||||
|
||||
<input id="zulipbot" type="radio" name="tabs">
|
||||
<label for="zulipbot"><i class="fa fa-at" aria-hidden="true"></i> Zulipbot</label>
|
||||
|
||||
|
@ -153,6 +156,7 @@
|
|||
<div id="tab-desktop" class="contributors"></div>
|
||||
<div id="tab-mobile" class="contributors"></div>
|
||||
<div id="tab-python-zulip-api" class="contributors"></div>
|
||||
<div id="tab-zulip-js" class="contributors"></div>
|
||||
<div id="tab-zulipbot" class="contributors"></div>
|
||||
|
||||
<!-- Compiled using underscore -->
|
||||
|
|
|
@ -71,6 +71,7 @@ def run_production() -> None:
|
|||
'desktop': 'https://api.github.com/repos/zulip/zulip-electron/stats/contributors',
|
||||
'mobile': 'https://api.github.com/repos/zulip/zulip-mobile/stats/contributors',
|
||||
'python-zulip-api': 'https://api.github.com/repos/zulip/python-zulip-api/stats/contributors',
|
||||
'zulip-js': 'https://api.github.com/repos/zulip/zulip-js/stats/contributors',
|
||||
'zulipbot': 'https://api.github.com/repos/zulip/zulipbot/stats/contributors',
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue