~qeef/damn-client.js

3aa8da486770b744cb45dcf8494a53ed97570160 — Jiri Vlasak 2 months ago 741bd89
Use creators for area authors
1 files changed, 2 insertions(+), 2 deletions(-)

M static/light-stats.js
M static/light-stats.js => static/light-stats.js +2 -2
@@ 133,7 133,7 @@ function html_light_stats(area)
    ih += "<div>";
    ih += "<a href='javascript:clean_adv(" + aid + ");show_squares_map(" + aid + ")'>squares map</a>";
    ih += " <a href='javascript:clean_adv(" + aid + ");show_all_commits(" + aid + ")'>all commits</a>";
    ih += " <a href='javascript:clean_adv(" + aid + ");show_all_authors(" + aid + ")'>all authors</a>";
    ih += " <a href='javascript:clean_adv(" + aid + ");show_all_authors(" + aid + ")'>all creators</a>";
    ih += " <a href='javascript:clean_adv(" + aid + ");show_all_mappers(" + aid + ")'>all mappers</a>";
    ih += " <a href='javascript:clean_adv(" + aid + ");show_local_mappers(" + aid + ")'>local mappers</a>";
    ih += " <a href='javascript:clean_adv(" + aid + ")'>clean</a>";


@@ 186,7 186,7 @@ function show_all_authors(aid)
    var ih = "";
    var authors_li = authors(aid);
    var li = [];
    for (k in authors_li) li.push(html_author_row(aid, authors_li[k]));
    for (k in authors_li) li.unshift(html_author_row(aid, authors_li[k]));
    up(stats_a(), html_list(li));
}
function authors(aid=false)