From cc17736bf5fc702c007d7cc1e263b35df68fd3c4 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Sun, 19 Sep 2021 16:12:10 +0200 Subject: [PATCH] Add CPU limit to Execution Environment index --- app/views/execution_environments/index.html.slim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/execution_environments/index.html.slim b/app/views/execution_environments/index.html.slim index dd6deb0b..a78fd684 100644 --- a/app/views/execution_environments/index.html.slim +++ b/app/views/execution_environments/index.html.slim @@ -13,6 +13,7 @@ h1.d-inline-block = ExecutionEnvironment.model_name.human(count: 2) th = t('activerecord.attributes.execution_environment.user') th = t('activerecord.attributes.execution_environment.pool_size') th = t('activerecord.attributes.execution_environment.memory_limit') + th = t('activerecord.attributes.execution_environment.cpu_limit') th = t('activerecord.attributes.execution_environment.network_enabled') th = t('activerecord.attributes.execution_environment.permitted_execution_time') th colspan=5 = t('shared.actions') @@ -23,6 +24,7 @@ h1.d-inline-block = ExecutionEnvironment.model_name.human(count: 2) td = link_to_if(policy(execution_environment.author).show?, execution_environment.author, execution_environment.author) td = execution_environment.pool_size td = execution_environment.memory_limit + td = execution_environment.cpu_limit td = symbol_for(execution_environment.network_enabled) td = execution_environment.permitted_execution_time td = link_to(t('shared.show'), execution_environment) if policy(execution_environment).show?