small fix
This commit is contained in:
parent
2a5938ed2b
commit
93df21ea00
|
@ -21,12 +21,14 @@
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td style="position:relative;">
|
<td>
|
||||||
<% if site.site_logs.where(:archive.ne => true).count > 0 %>
|
<div style="position:relative;">
|
||||||
<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>
|
<% if site.site_logs.where(:archive.ne => true).count > 0 %>
|
||||||
<% end %>
|
<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>
|
||||||
<a href="<%= new_admin_customization_log_path(:id => site.id) %>" class="btn btn-primary">Add Log</a>
|
<% end %>
|
||||||
<div class="line pull-right" style="position:absolute; top:0; right:0; bottom:0; width:5px; background-color:<%= site.active? ? "green" : "red" %>;"></div>
|
<a href="<%= new_admin_customization_log_path(:id => site.id) %>" class="btn btn-primary">Add Log</a>
|
||||||
|
<div class="line" style="position:absolute; top:0; right:0; bottom:0; width:5px; background-color:<%= site.active? ? "green" : "red" %>;"></div>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue