Add CPU limit to Execution Environment index

This commit is contained in:
Sebastian Serth
2021-09-19 16:12:10 +02:00
parent ee1751debf
commit cc17736bf5

View File

@ -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?