summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-10-08 22:11:49 -0400
committerGitHub <noreply@github.com>2018-10-08 22:11:49 -0400
commitf03b8176092cfa852514e55d8d9f3cbaf1d4288f (patch)
tree4d41340b2655fecad5164c82fc7c67d37e99602e /src
parent980bc873e76854ec5f0ee4b554f3f5e206358648 (diff)
parent40f0a53f8fbab603b9b5349d9a9707cf1373c063 (diff)
downloadSMAPI-f03b8176092cfa852514e55d8d9f3cbaf1d4288f.tar.gz
SMAPI-f03b8176092cfa852514e55d8d9f3cbaf1d4288f.tar.bz2
SMAPI-f03b8176092cfa852514e55d8d9f3cbaf1d4288f.zip
Merge pull request #595 from danvolchek/develop
Log Parser - Display author of content packs
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index e735e8f3..1bd5558a 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -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>