mirror of
https://github.com/resume/resume.github.com.git
synced 2025-12-30 07:40:37 -06:00
FIX: We add proper labels for watchers and forks
That is, we replace lines such as "This repository has 1 watcher(s) and 5 fork(s)" with "This repository has 1 watcher and 5 forks".
This commit is contained in:
@@ -214,7 +214,9 @@ var run = function() {
|
||||
description: arr[index].info.description,
|
||||
username: username,
|
||||
watchers: arr[index].info.watchers,
|
||||
forks: arr[index].info.forks
|
||||
forks: arr[index].info.forks,
|
||||
watchersLabel: arr[index].info.watchers > 1 ? 'watchers' : 'watcher',
|
||||
forksLabel: arr[index].info.forks > 1 ? 'forks' : 'fork',
|
||||
};
|
||||
|
||||
if (itemCount == sorted.length - 1 || itemCount == maxItems - 1) {
|
||||
|
||||
Reference in New Issue
Block a user