diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-10-11 21:00:05 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-10-11 21:00:05 +0000 |
commit | f46fa4fd6538f16ddbf8891ebe2e1405dac47825 (patch) | |
tree | 3ee2601748436f4185891e3900bee32111a1ef9e /share/skin/default | |
parent | f10fd4d2b52f757f758501448ade779036e16b19 (diff) | |
download | reaction-f46fa4fd6538f16ddbf8891ebe2e1405dac47825.tar.gz reaction-f46fa4fd6538f16ddbf8891ebe2e1405dac47825.zip |
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
Diffstat (limited to 'share/skin/default')
-rw-r--r-- | share/skin/default/layout/collection/grid.tt | 6 | ||||
-rw-r--r-- | share/skin/default/layout/list_view.tt | 4 |
2 files changed, 4 insertions, 6 deletions
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 @@ <th> [% call_next %] </th> +=for layout header_action_cell + +<th colspan="[% col_count %]"> [% call_next %] </th> + =for layout body <tbody> - [% call_next %] - </tbody> =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 - -<th colspan="[% col_count %]"> Actions </th> - =for layout header_cell_contents <a href="[% order_uri %]">[% call_next %]</a> |