webdav portal fixes
This commit is contained in:
parent
996e56a835
commit
833b7c1aa4
3 changed files with 7 additions and 2 deletions
|
@ -59,7 +59,10 @@ namespace WebsitePanel.WebDav.Core
|
|||
{
|
||||
get
|
||||
{
|
||||
string displayName = _href.AbsoluteUri.Replace(_baseUri.AbsoluteUri, "");
|
||||
var href = HttpUtility.UrlDecode(_href.AbsoluteUri);
|
||||
var baseUri = HttpUtility.UrlDecode(_baseUri.AbsoluteUri);
|
||||
|
||||
string displayName = href.Replace(baseUri, "");
|
||||
displayName = Regex.Replace(displayName, "\\/$", "");
|
||||
Match displayNameMatch = Regex.Match(displayName, "([\\/]+)$");
|
||||
if (displayNameMatch.Success)
|
||||
|
|
|
@ -24,6 +24,8 @@ function GetResources() {
|
|||
GetResources();
|
||||
oldResourcesDivHeight = $('#resourcesDiv').height();
|
||||
};
|
||||
|
||||
recalculateResourseHeight();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
if (account != null)
|
||||
{
|
||||
<a id="logout" class="nav navbar-text navbar-right" href="@Url.RouteUrl(AccountRouteNames.Logout)" title="Log out"><i class="glyphicon glyphicon-log-out"></i></a>
|
||||
<h4 id="username" class="nav navbar-text navbar-right">@account.UserName</h4>
|
||||
<h4 id="username" class="nav navbar-text navbar-right">@account.Login</h4>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue