mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update connect methods
This commit is contained in:
parent
53cd8b0eb8
commit
9855c3e6dc
@ -13,7 +13,6 @@
|
||||
<a href="#" class="ui-btn-active lnkWebClientPreferences">${TabWebClient}</a>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<form class="webClientPreferencesForm" style="margin: 0 auto;">
|
||||
|
||||
|
@ -25,6 +25,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="connectMessage readOnlyContent" style="display:none;margin: 0 auto; padding: 0 1em; text-align:center;">
|
||||
<p>${MessageProfileInfoSynced}</p>
|
||||
<div style="margin-top: .75em;"><a href="http://mediabrowser.tv/connect" target="_blank">${ButtonLearnMoreAboutMediaBrowserConnect}</a></div>
|
||||
</div>
|
||||
|
||||
<form class="newImageForm" style="display:none;margin: 1em auto 0;">
|
||||
|
||||
<div data-role="collapsible">
|
||||
|
@ -30,18 +30,21 @@
|
||||
|
||||
$('.newImageForm', page).hide();
|
||||
$('#btnDeleteImage', page).hide();
|
||||
$('.connectMessage', page).show();
|
||||
}
|
||||
else if (user.PrimaryImageTag) {
|
||||
|
||||
$('#btnDeleteImage', page).show();
|
||||
$('#headerUploadNewImage', page).show();
|
||||
$('.newImageForm', page).show();
|
||||
$('.connectMessage', page).hide();
|
||||
|
||||
} else {
|
||||
$('.newImageSection', page).show();
|
||||
$('#fldImage', page).hide().html('');
|
||||
$('#btnDeleteImage', page).hide();
|
||||
$('#headerUploadNewImage', page).hide();
|
||||
$('.connectMessage', page).hide();
|
||||
}
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
Loading…
Reference in New Issue
Block a user