mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix HTML link issue with authored filepage
This commit is contained in:
parent
4b2822c589
commit
4a7b9d23c1
@ -31,6 +31,9 @@ namespace Wabbajack.BuildServer.Test
|
||||
var data = await Fixture.GetService<SqlService>().AllAuthoredFiles();
|
||||
Assert.Contains((string)file.Path.FileName, data.Select(f => f.OriginalFileName));
|
||||
|
||||
var result = await _client.GetStringAsync(MakeURL("authored_files"));
|
||||
Assert.Contains((string)file.Path.FileName, result);
|
||||
|
||||
var state = await DownloadDispatcher.Infer(uri);
|
||||
Assert.IsType<WabbajackCDNDownloader.State>(state);
|
||||
|
||||
|
@ -144,7 +144,7 @@ namespace Wabbajack.BuildServer.Controllers
|
||||
<html><body>
|
||||
<table>
|
||||
{{each $.files }}
|
||||
<tr><td><a href='https//wabbajack.b-cdn.net/{{$.MungedName}}'>{{$.OriginalFileName}}</a></td><td>{{$.Size}}</td><td>{{$.LastTouched}}</td><td>{{$.Finalized}}</td><td>{{$.Uploader}}</td></tr>
|
||||
<tr><td><a href='https://wabbajack.b-cdn.net/{{$.MungedName}}'>{{$.OriginalFileName}}</a></td><td>{{$.Size}}</td><td>{{$.LastTouched}}</td><td>{{$.Finalized}}</td><td>{{$.Author}}</td></tr>
|
||||
{{/each}}
|
||||
</table>
|
||||
</body></html>
|
||||
@ -156,7 +156,7 @@ namespace Wabbajack.BuildServer.Controllers
|
||||
public async Task<ContentResult> UploadedFilesGet()
|
||||
{
|
||||
var files = await _sql.AllAuthoredFiles();
|
||||
var response = HandleGetListTemplate(files);
|
||||
var response = HandleGetListTemplate(new {files});
|
||||
return new ContentResult
|
||||
{
|
||||
ContentType = "text/html",
|
||||
|
Loading…
Reference in New Issue
Block a user