extended execution environments index

This commit is contained in:
Hauke Klement
2015-03-17 17:14:46 +01:00
parent 15d8984a9e
commit 9be0e12990

View File

@ -6,6 +6,9 @@ h1 = ExecutionEnvironment.model_name.human(count: 2)
tr
th = t('activerecord.attributes.execution_environment.name')
th = t('activerecord.attributes.execution_environment.user')
th = t('activerecord.attributes.execution_environment.memory_limit')
th = t('activerecord.attributes.execution_environment.network_enabled')
th = t('activerecord.attributes.execution_environment.permitted_execution_time')
th colspan=4 = t('shared.actions')
th colspan=2 = t('shared.resources')
tbody
@ -13,6 +16,9 @@ h1 = ExecutionEnvironment.model_name.human(count: 2)
tr
td = execution_environment.name
td = link_to(execution_environment.author, execution_environment.author)
td = execution_environment.memory_limit
td = symbol_for(execution_environment.network_enabled)
td = execution_environment.permitted_execution_time
td = link_to(t('shared.show'), execution_environment)
td = link_to(t('shared.edit'), edit_execution_environment_path(execution_environment))
td = link_to(t('shared.destroy'), execution_environment, data: {confirm: t('shared.confirm_destroy')}, method: :delete)