Merge pull request #156 from leprechaun/popular-repos-quick-fix

Slight semantic fix for "I do not have any public repositories. Sorry" message
This commit is contained in:
David Coallier
2013-11-28 07:32:03 -08:00
+5 -1
View File
@@ -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 of this user\'s repositories seem to be forks. Sorry.</p>');
} else {
$('#jobs').html('').append('<p class="enlarge">Unfortunately, this user does not seem to have any <strong>public</strong> repositories.</p>');
}
}
}
});