summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/LogParser/Index.cshtml
diff options
context:
space:
mode:
authordanvolchek <volchek2@illinois.edu>2018-10-08 19:58:53 -0500
committerdanvolchek <volchek2@illinois.edu>2018-10-08 19:58:53 -0500
commit40f0a53f8fbab603b9b5349d9a9707cf1373c063 (patch)
tree802f51d3195a93027ca3cfa0af3f46e6fa8b7c71 /src/SMAPI.Web/Views/LogParser/Index.cshtml
parent7829df45cbe563ecbf95b84ffbc8cc86e06b1c92 (diff)
downloadSMAPI-40f0a53f8fbab603b9b5349d9a9707cf1373c063.tar.gz
SMAPI-40f0a53f8fbab603b9b5349d9a9707cf1373c063.tar.bz2
SMAPI-40f0a53f8fbab603b9b5349d9a9707cf1373c063.zip
display author of content packs
Diffstat (limited to 'src/SMAPI.Web/Views/LogParser/Index.cshtml')
-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>