From d82a47b12f31615149f58296126b2462b11705f3 Mon Sep 17 00:00:00 2001 From: martijn Date: Fri, 18 Mar 2011 20:00:00 +0000 Subject: [PATCH] BUGFIX # 5966: Allow printing on TableField http://open.silverstripe.org/ticket/5966 --- templates/TableField.ss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/TableField.ss b/templates/TableField.ss index 2792e2172..7424c0a94 100644 --- a/templates/TableField.ss +++ b/templates/TableField.ss @@ -59,11 +59,11 @@ <% end_if %> -
- <% if Can(export) %> - <% _t('CSVEXPORT', 'Export to CSV' ) %> - <% end_if %> -
+ <% if Print %><% else %>
+ <% control Utility %> + $Title + <% end_control %> +
<% end_if %> <% if Message %> $Message <% end_if %>