From d5566517d2a6dd88d926996a3a2f2c4eea1e3958 Mon Sep 17 00:00:00 2001 From: "p.tessenow" Date: Tue, 29 Jun 2010 20:03:19 +0000 Subject: [PATCH] the _text partial now knows the hide-option git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1245 7926756e-e54e-46e6-9721-ed318f58905e --- app/views/cost_reports/filters/_text.rhtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/cost_reports/filters/_text.rhtml b/app/views/cost_reports/filters/_text.rhtml index 0d7339fdd3..b7ecc3b955 100644 --- a/app/views/cost_reports/filters/_text.rhtml +++ b/app/views/cost_reports/filters/_text.rhtml @@ -4,8 +4,9 @@ - :name => 'text' - :text => String: The text that should be displayed - :width => Integer (optional): The width this partial may consume. If not given, a standard width will be applied + - :hide => Boolean (optional, default = true): whether the content of this partial is hidden or not %> - +> <%= element[:text] || '' %> \ No newline at end of file