Removed unnecessary comment / Fixed formatting
This commit is contained in:
parent
d5fcf94455
commit
74db923058
@ -24,8 +24,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- TODO: Center table content -->
|
||||
<h2>Recent items</h2>
|
||||
<div class="container">
|
||||
<table class="table">
|
||||
@ -44,14 +42,14 @@
|
||||
<td><%= user.name %></td>
|
||||
<% if(user.status == "normal") { %>
|
||||
|
||||
<td><span class="badge text-bg-success"><%= user.status %></span></td>
|
||||
<% } else if(user.status == "stolen") { %>
|
||||
<td><span class="badge text-bg-danger"><%= user.status %></span></td>
|
||||
<% } else if(user.status == "lost") { %>
|
||||
<td><span class="badge text-bg-warning"><%= user.status %></span></td>
|
||||
<% } else if(user.status == "borrowed") { %>
|
||||
<td><span class="badge text-bg-info"><%= user.status %></span></td>
|
||||
<% } %>
|
||||
<td><span class="badge text-bg-success"><%= user.status %></span></td>
|
||||
<% } else if(user.status == "stolen") { %>
|
||||
<td><span class="badge text-bg-danger"><%= user.status %></span></td>
|
||||
<% } else if(user.status == "lost") { %>
|
||||
<td><span class="badge text-bg-warning"><%= user.status %></span></td>
|
||||
<% } else if(user.status == "borrowed") { %>
|
||||
<td><span class="badge text-bg-info"><%= user.status %></span></td>
|
||||
<% } %>
|
||||
<!--<td><a href="#" class="btn btn-primary">Edit</a></td>-->
|
||||
</tr>
|
||||
<% }) %>
|
||||
|
Loading…
Reference in New Issue
Block a user