% content_for(:javascripts) do %> <%= webpacked_plugins_js_for :foreman_resource_quota %> <% end %> <% content_for(:stylesheets) do %> <%= webpacked_plugins_css_for :foreman_resource_quota %> <% end %> <% title _('Resource quotas') %> <%= title_actions react_component('CreateResourceQuotaModal') %>
<%= sort :name, :as => s_('Resource Quota|Name') %> | <%= _('Description') %> | <%= _('CPU cores') %> | <%= _('Memory (MB)') %> | <%= _('Disk space (GB)') %> | <%= _('Actions') %> |
---|---|---|---|---|---|
<%= react_component('UpdateResourceQuotaModal', react_data) %> | <%= h(quota.description) %> | <%= h(quota.cpu_cores) %> | <%= h(quota.memory_mb) %> | <%= h(quota.disk_gb) %> | <%= action_buttons( display_delete_if_authorized(hash_for_foreman_resource_quota_resource_quota_path(id: quota), data: { confirm: _("Delete %s?") % quota.name}) ) %> |