mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Add avatar to History page.
This commit is contained in:
parent
4aa4e3eacc
commit
c4b754e53b
3 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,7 @@ function pageInit() {
|
|||
$('.ui-signin').hide();
|
||||
$('.ui-or').hide();
|
||||
$('.ui-welcome').show();
|
||||
$('.ui-avatar').prop('src',data.photo);
|
||||
$('.ui-name').html(data.name);
|
||||
$('.ui-signout').show();
|
||||
$(".ui-history").click();
|
||||
|
@ -41,6 +42,7 @@ function pageInit() {
|
|||
$('.ui-signin').slideDown();
|
||||
$('.ui-or').slideDown();
|
||||
$('.ui-welcome').hide();
|
||||
$('.ui-avatar').prop('src','');
|
||||
$('.ui-name').html('');
|
||||
$('.ui-signout').hide();
|
||||
parseStorageToHistory(historyList, parseHistoryCallback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue