mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
Fixed the root path escaping issue for Radarr too!
This commit is contained in:
parent
2b8a5c6423
commit
717b499874
2 changed files with 6 additions and 4 deletions
|
@ -20,6 +20,7 @@
|
|||
{
|
||||
title = customName;
|
||||
}
|
||||
var isAdmin = Html.IsAdmin();
|
||||
}
|
||||
|
||||
|
||||
|
@ -41,11 +42,11 @@
|
|||
@Html.GetNavbarUrl(Context, "/search", UI.Layout_Search, "search")
|
||||
@Html.GetNavbarUrl(Context, "/requests", UI.Layout_Requests, "plus-circle")
|
||||
@Html.GetNavbarUrl(Context, "/issues", UI.Layout_Issues, "exclamation", "<span id=\"issueCount\"></span>")
|
||||
@if (Html.IsAdmin())
|
||||
@if (isAdmin)
|
||||
{
|
||||
@Html.GetNavbarUrl(Context, "/usermanagement", UI.Layout_Usermanagement, "users")
|
||||
}
|
||||
@if (Html.IsAdmin())
|
||||
@if (isAdmin)
|
||||
{
|
||||
<li><a id="donate" href="https://www.paypal.me/PlexRequestsNet" target="_blank"><i class="fa fa-heart" style="color: red"></i> @UI.Layout_Donate</a></li>
|
||||
}
|
||||
|
@ -55,7 +56,7 @@
|
|||
<a id="gravatarImg" class="navbar-brand" href="#">
|
||||
|
||||
</a>
|
||||
@if (Html.IsAdmin())
|
||||
@if (isAdmin)
|
||||
{
|
||||
<li><a>@UI.Layout_Welcome @Context.CurrentUser.UserName</a></li>
|
||||
<li class="dropdown">
|
||||
|
@ -121,7 +122,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var base = '@Html.GetBaseUrl()';
|
||||
var base = '@baseUrl';
|
||||
var url = createBaseUrl(base, '/customDonation');
|
||||
$.ajax({
|
||||
url: url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue