mirror of
https://github.com/resume/resume.github.com.git
synced 2025-12-20 10:30:06 -06:00
Slight semantic fix for "I do not have any public repos"
In the "GitHub Profile" section, it will display "$user is a developer with X public repositories. ..." However, if the user in question only has other people's forks, it will display "I have no public repositories". Two conflicting statements. The section now states "All my repositories are forks" if that's the case.
This commit is contained in:
@@ -372,7 +372,11 @@ var run = function() {
|
||||
++itemCount;
|
||||
});
|
||||
} else {
|
||||
$('#jobs').html('').append('<p class="enlarge">I do not have any public repositories. Sorry.</p>');
|
||||
if(data.length > 0){
|
||||
$('#jobs').html('').append('<p class="enlarge">All my repositories are forks. Sorry.</p>');
|
||||
} else {
|
||||
$('#jobs').html('').append('<p class="enlarge">I do not have any public repositories. Sorry.</p>');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user