forked from devbridge/BetterModules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModulesList.cshtml
More file actions
35 lines (33 loc) · 850 Bytes
/
ModulesList.cshtml
File metadata and controls
35 lines (33 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@model BetterModules.Sample.Web.Module.Models.ModulesListViewModel
@if (Model == null)
{
<h1>Modules list model is null</h1>
}
else
{
if (Model.Modules == null || Model.Modules.Count == 0)
{
<h1>Modules list is empty</h1>
}
else
{
<h1>The list of references modules:</h1>
<table border="1">
<tr>
<th>Assembly</th>
<th>Name</th>
<th>Description</th>
<th>Descriptor Type</th>
</tr>
@foreach (var module in Model.Modules)
{
<tr>
<td>@module.Assembly</td>
<td>@module.Name</td>
<td>@module.Description</td>
<td>@module.Type</td>
</tr>
}
</table>
}
}