From b4d294af125bffe3a0f570b370271c38fd6f7879 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 22 Jul 2013 12:16:35 +0200 Subject: [PATCH] Clean up array access syntax. --- share/templates/domain/list.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/templates/domain/list.tt b/share/templates/domain/list.tt index 722a69e972..671025a63b 100644 --- a/share/templates/domain/list.tt +++ b/share/templates/domain/list.tt @@ -13,8 +13,8 @@ helper.ajax_uri = c.uri_for( c.controller.action_for('ajax') ); helper.dt_buttons = [ - { name = 'Delete', uri = "/domain/'+full[\"id\"]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' }, - { name = 'Preferences', uri = "/domain/'+full[\"id\"]+'/preferences", class = 'btn-small btn-tertiary', icon = 'icon-list' }, + { name = 'Delete', uri = "/domain/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' }, + { name = 'Preferences', uri = "/domain/'+full.id+'/preferences", class = 'btn-small btn-tertiary', icon = 'icon-list' }, ]; helper.top_buttons = [ { name = 'Create Domain', uri = c.uri_for('/domain/create'), icon = 'icon-star' },