aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-10-11 21:00:05 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-10-11 21:00:05 +0000
commitf46fa4fd6538f16ddbf8891ebe2e1405dac47825 (patch)
tree3ee2601748436f4185891e3900bee32111a1ef9e /share
parentf10fd4d2b52f757f758501448ade779036e16b19 (diff)
downloadreaction-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')
-rw-r--r--share/skin/base/layout/collection/grid.tt4
-rw-r--r--share/skin/base/layout/list_view.tt4
-rw-r--r--share/skin/default/layout/collection/grid.tt6
-rw-r--r--share/skin/default/layout/list_view.tt4
4 files changed, 8 insertions, 10 deletions
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
<a href="[% order_uri %]">[% call_next %]</a>
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>