mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Added gravitar image
This commit is contained in:
parent
f6bf6493b2
commit
7d8848a69c
17 changed files with 137 additions and 25 deletions
|
@ -26,6 +26,23 @@
|
|||
console.log(e);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
var gravatarUrl = createBaseUrl(base, 'layout/gravatar');
|
||||
$.ajax({
|
||||
url: gravatarUrl,
|
||||
success: function (result) {
|
||||
if (result.result) {
|
||||
$('#gravatarImg').html("<img src=\"" + result.message + "\" class=\"gravatar\" width=\"30\" height=\"30\" alt=\"\">");
|
||||
}
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
console.log("error " + error);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// End Check for update
|
||||
|
||||
checkCacheInProgress();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue