Rename: WirelessCertificates -> DeviceCertificates
Code updated to reflect change from 'WirelessCertificates' to 'DeviceCertificates'
This commit is contained in:
@@ -1,43 +1,43 @@
|
||||
@model IEnumerable<Disco.Models.Repository.DeviceCertificate>
|
||||
<div class="genericData certificateTable">
|
||||
@if (Model.Count() > 0)
|
||||
{
|
||||
<table class="genericData certificateTable">
|
||||
<tr>
|
||||
<th>
|
||||
Name
|
||||
</th>
|
||||
<th>
|
||||
Enabled
|
||||
</th>
|
||||
<th>
|
||||
Allocated
|
||||
</th>
|
||||
<th>
|
||||
Expires
|
||||
</th>
|
||||
</tr>
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.ActionLink(item.Name, MVC.API.WirelessCertificate.Download(item.Id))
|
||||
</td>
|
||||
<td>
|
||||
@item.Enabled
|
||||
</td>
|
||||
<td>
|
||||
@CommonHelpers.FriendlyDate(item.AllocatedDate)
|
||||
</td>
|
||||
<td>
|
||||
@CommonHelpers.FriendlyDate(item.ExpirationDate)
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="smallMessage">No Certificates Allocated</span>
|
||||
}
|
||||
</div>
|
||||
@model IEnumerable<Disco.Models.Repository.DeviceCertificate>
|
||||
<div class="genericData certificateTable">
|
||||
@if (Model.Count() > 0)
|
||||
{
|
||||
<table class="genericData certificateTable">
|
||||
<tr>
|
||||
<th>
|
||||
Name
|
||||
</th>
|
||||
<th>
|
||||
Enabled
|
||||
</th>
|
||||
<th>
|
||||
Allocated
|
||||
</th>
|
||||
<th>
|
||||
Expires
|
||||
</th>
|
||||
</tr>
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.ActionLink(item.Name, MVC.API.DeviceCertificate.Download(item.Id))
|
||||
</td>
|
||||
<td>
|
||||
@item.Enabled
|
||||
</td>
|
||||
<td>
|
||||
@CommonHelpers.FriendlyDate(item.AllocatedDate)
|
||||
</td>
|
||||
<td>
|
||||
@CommonHelpers.FriendlyDate(item.ExpirationDate)
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="smallMessage">No Certificates Allocated</span>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user