Project

General

Profile

« Previous | Next » 

Revision acfbc458

Added by Marek Hulán about 10 years ago

fixes #812 - new permissions model, user group role and nest support, role filters for better granularity

Contributions from:

View differences:

app/views/audits/show.html.erb
<% title "#{@audit.action.camelize} #{audited_type @audit}: #{audit_title @audit}" %>
<%= title_actions link_to_if_authorized(_("Host details"),
hash_for_host_path(:id => @audit.auditable.to_param),
hash_for_host_path(:id => @audit.auditable.to_param).merge(:auth_object => @audit.auditable, :auth_action => 'view'),
:title => _("Host details"),
:class => 'btn btn-info') if @audit.auditable_type == 'Host' && @audit.auditable %>
<%= title_actions link_to 'Back', :back, :class=>'btn btn-default' %>
<% tmplt = audit_template?(@audit) %>
<% tmplt = audit_template?(@audit) %>
<div class="tabbable">
<ul class="nav nav-tabs">

Also available in: Unified diff