a crap tonne of work on #273

This commit is contained in:
tidusjar 2016-06-04 17:51:13 +01:00
parent d6c2997570
commit 071daf4ab4
16 changed files with 472 additions and 103 deletions

View file

@ -113,6 +113,18 @@ namespace PlexRequests.UI.Helpers
sb.AppendLine($"<script src=\"{content}/Content/issues.js\" type=\"text/javascript\"></script>");
return helper.Raw(sb.ToString());
}
public static IHtmlString LoadIssueDetailsAssets(this HtmlHelpers helper)
{
var sb = new StringBuilder();
var assetLocation = GetBaseUrl();
var content = GetContentUrl(assetLocation);
sb.AppendLine($"<script src=\"{content}/Content/issue-details.js\" type=\"text/javascript\"></script>");
return helper.Raw(sb.ToString());
}