From f46fa4fd6538f16ddbf8891ebe2e1405dac47825 Mon Sep 17 00:00:00 2001 From: groditi Date: Sat, 11 Oct 2008 21:00:05 +0000 Subject: change listview/grid so that members of a grid can have actions by default, it will just no-op if there is no prototypes present --- share/skin/base/layout/collection/grid.tt | 4 ++++ share/skin/base/layout/list_view.tt | 4 ---- share/skin/default/layout/collection/grid.tt | 6 ++++-- share/skin/default/layout/list_view.tt | 4 ---- 4 files changed, 8 insertions(+), 10 deletions(-) (limited to 'share/skin') diff --git a/share/skin/base/layout/collection/grid.tt b/share/skin/base/layout/collection/grid.tt index 4042652..43cb204 100644 --- a/share/skin/base/layout/collection/grid.tt +++ b/share/skin/base/layout/collection/grid.tt @@ -20,6 +20,10 @@ [% label %] +=for layout header_action_cell + +Actions + =for layout body [% members %] diff --git a/share/skin/base/layout/list_view.tt b/share/skin/base/layout/list_view.tt index 8a0197d..40be738 100644 --- a/share/skin/base/layout/list_view.tt +++ b/share/skin/base/layout/list_view.tt @@ -10,10 +10,6 @@ [% actions %] -=for layout header_action_cell - -Actions - =for layout header_cell_contents [% call_next %] diff --git a/share/skin/default/layout/collection/grid.tt b/share/skin/default/layout/collection/grid.tt index 9b7eb49..cf1d882 100644 --- a/share/skin/default/layout/collection/grid.tt +++ b/share/skin/default/layout/collection/grid.tt @@ -22,12 +22,14 @@ [% call_next %] +=for layout header_action_cell + + [% call_next %] + =for layout body - [% call_next %] - =cut diff --git a/share/skin/default/layout/list_view.tt b/share/skin/default/layout/list_view.tt index f1a72b1..ead72b9 100644 --- a/share/skin/default/layout/list_view.tt +++ b/share/skin/default/layout/list_view.tt @@ -10,10 +10,6 @@ [% actions %] -=for layout header_action_cell - - Actions - =for layout header_cell_contents [% call_next %] -- cgit v1.2.3-54-g00ecf