small fix

This commit is contained in:
Harry Bomrah 2015-08-28 17:33:12 +08:00
parent 081dea82ba
commit e791f2c277
1 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@
<% else %> <% else %>
<a href="/admin/registered_site/change_access/<%= site.site_token %>?status=revoke<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-warning" data-remote="true">Revoke</a> <a href="/admin/registered_site/change_access/<%= site.site_token %>?status=revoke<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-warning" data-remote="true">Revoke</a>
<% end %> <% end %>
<%# if current_user.is_admin? %> <% if current_user.is_admin? %>
<a href="/admin/registered_sites/<%= site.id.to_s %>?s=s<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-danger" data-remote="true" data-method="delete"><i class="icons-trash"></i></a> <a href="/admin/registered_sites/<%= site.id.to_s %>?s=s<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-danger" data-remote="true" data-method="delete" data-confirm="Are you sure?"><i class="icons-trash"></i></a>
<%# end %> <% end %>
</td> </td>
</tr> </tr>
<% end %> <% end %>