Revision 5c70f9d4
Added by Daniel Lobato Garcia over 10 years ago
app/views/users/_filters.html.erb | ||
---|---|---|
<%= field_set_tag _("Compute resources") do %>
|
||
<%= f.select :compute_resources_andor, [[_("must be"), "and"], [_("plus all"), "or"]], {}, :class => "input-small" %>
|
||
<%= multiple_checkboxes f, :compute_resources, @user, ComputeResource, :label=>'' %>
|
||
<% end %>
|
||
<% end %>
|
||
|
||
<%= field_set_tag _("Host group hosts") do %>
|
||
<%= f.select :hostgroups_andor, [[_("must be"), "and"], [_("plus all"), "or"]], {}, :class => "input-small" %>
|
||
<%= multiple_checkboxes f, :hostgroups, @user, Hostgroup, :label=>'' %>
|
||
<% end %>
|
||
<% end %>
|
||
|
||
<%= field_set_tag _("Subscribe to hostgroups") do %>
|
||
<div class="control-group">
|
||
<%= _("Automatically add new hostgroups to this user.") %> <%= f.check_box :subscribe_to_all_hostgroups %>
|
||
</div>
|
||
<% end %>
|
||
|
||
<%= field_set_tag _("Fact filters") do %>
|
||
<div class="control-group">
|
Also available in: Unified diff
fixes #1853 - Users now have a new filter to subscribe to new hostgroups