Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/smart_proxies/puppetca/index.html.erb | ||
---|---|---|
<td><%= h cert.fingerprint %></td>
|
||
<td>
|
||
<%= display_link_if_authorized("Sign", hash_for_smart_proxy_puppetca_path(:smart_proxy_id => @proxy.to_param, :id => cert, :state => params[:state]), :method => :put) if cert.state == "pending" %>
|
||
<%= display_link_if_authorized("Delete", hash_for_smart_proxy_puppetca_path(:smart_proxy_id => @proxy.to_param, :id => cert, :state => params[:state]), :confirm => 'Are you sure?', :method => :delete) if cert.state != "revoked" %>
|
||
<%= display_delete_if_authorized(hash_for_smart_proxy_puppetca_path(:smart_proxy_id => @proxy.to_param, :id => cert, :state => params[:state])) if cert.state != "revoked" %>
|
||
</td>
|
||
</tr>
|
||
<% end -%>
|
Also available in: Unified diff
updates UI to bootstrap v2