vassago/WebInterface/Views/Channels/Details.cshtml

61 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-06-02 17:13:15 -04:00
@model Channel
@Html.Raw(ViewData["breadcrumbs"])
<table class="table">
<tbody>
<tr>
<th scope="row">Display Name</th>
<td>@Model.DisplayName</td>
</tr>
<tr>
<th scope="row">Channel type</th>
<td>@Model.ChannelType</td>
</tr>
<tr>
<th scope="row">Lewdness Filter Level</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.LewdnessFilterLevel?.ToString() ?? "inherited")</td>
2024-06-02 17:13:15 -04:00
</tr>
<tr>
<th scope="row">Links Allowed</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.LinksAllowed?.ToString() ?? "unknown")</td>
2024-06-02 17:13:15 -04:00
</tr>
<tr>
<th scope="row">Lineage summary</th>
<td>@Model.LineageSummary</td>
</tr>
<tr>
<th scope="row">max attachment bytes</th>
<td>@Model.MaxAttachmentBytes (i hear there's "ByteSize")</td>
</tr>
<tr>
<th scope="row">max message length</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.MaxTextChars?.ToString() ?? "inherited")</td>
2024-06-02 17:13:15 -04:00
</tr>
<tr>
<th scope="row">Meanness Filter Level</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.MeannessFilterLevel?.ToString() ?? "inherited")</td>
2024-06-02 17:13:15 -04:00
</tr>
<tr>
<th scope="row">Messages (count)</th>
<td>@(Model.Messages?.Count ?? 0)</td>
</tr>
<tr>
<th scope="row">Protocol</th>
<td>@Model.Protocol</td>
</tr>
<tr>
<th scope="row">Reactions Possible</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.ReactionsPossible?.ToString() ?? "inherited")</td>
2024-06-02 17:13:15 -04:00
</tr>
<tr>
<th scope="row">Sub Channels</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.SubChannels?.Count ?? 0)</td>
2024-06-02 17:13:15 -04:00
</tr>
<tr>
<th scope="row">Users</th>
2024-06-09 17:37:09 -04:00
<td>@(Model.Users?.Count ?? 0)</td>
2024-06-02 17:13:15 -04:00
</tr>
</tbody>
</table>