mirror of
https://github.com/resume/resume.github.com.git
synced 2026-05-11 13:59:55 -05:00
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:
+5
-1
@@ -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>');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user