Language statistics bar for repositories (#8037)
* Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
This commit is contained in:
@ -1127,6 +1127,14 @@ function initRepository() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Language stats
|
||||
if ($('.language-stats').length > 0) {
|
||||
$('.language-stats').on('click', (e) => {
|
||||
e.preventDefault();
|
||||
$('.language-stats-details, .repository-menu').slideToggle();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function initMigration() {
|
||||
|
Reference in New Issue
Block a user