small fix

This commit is contained in:
Harry Bomrah 2014-12-05 18:39:14 +08:00
parent 2a5938ed2b
commit 93df21ea00
1 changed files with 8 additions and 6 deletions

View File

@ -21,12 +21,14 @@
</span>
<% end %>
</td>
<td style="position:relative;">
<td>
<div style="position:relative;">
<% if site.site_logs.where(:archive.ne => true).count > 0 %>
<a data-toggle="modal" href="/admin/customization_logs/<%= site.id.to_s %>/get_log" data-target="#logModal" class="btn view_log_btn">View Log</a>
<% end %>
<a href="<%= new_admin_customization_log_path(:id => site.id) %>" class="btn btn-primary">Add Log</a>
<div class="line pull-right" style="position:absolute; top:0; right:0; bottom:0; width:5px; background-color:<%= site.active? ? "green" : "red" %>;"></div>
<div class="line" style="position:absolute; top:0; right:0; bottom:0; width:5px; background-color:<%= site.active? ? "green" : "red" %>;"></div>
</div>
</td>
</tr>
<% end %>