display author of content packs

This commit is contained in:
danvolchek 2018-10-08 19:58:53 -05:00
parent 7829df45cb
commit 40f0a53f8f
2 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,7 @@
* For the web UI:
* The log parser now has a separate filter for game messages.
* The log parser now displays the author of each content pack.
* For modders:
* Added [data API](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Data).

View File

@ -165,7 +165,18 @@ else if (Model.ParsedLog?.IsValid == true)
</div>
}
</td>
<td v-pre>@mod.Author</td>
<td v-pre>
@mod.Author
@if (contentPacks != null && contentPacks.TryGetValue(mod.Name, out contentPackList))
{
<div class="content-packs">
@foreach (var contentPack in contentPackList)
{
<text>+ @contentPack.Author</text><br />
}
</div>
}
</td>
@if (mod.Errors == 0)
{
<td v-pre class="color-green">no errors</td>