From 1b3541569912631ae154964ee3d48349c493268b Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Wed, 8 Aug 2012 15:56:46 +0800 Subject: [PATCH] conditional showing quick edit. --- .../bulletins/_quick_edit_basic.html.erb | 18 ++++++++++-------- .../news_bulletins/_quick_edit_basic.html.erb | 19 +++++++++++-------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_quick_edit_basic.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_quick_edit_basic.html.erb index b7ee7589..b019aa85 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_quick_edit_basic.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_quick_edit_basic.html.erb @@ -35,16 +35,18 @@ -
-
- -
- - - + <% if show_form_status_field(@bulletin)%> +
+
+ +
+ + + +
-
+ <% end -%>
diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletins/_quick_edit_basic.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletins/_quick_edit_basic.html.erb index 9b9ca254..df04b3c9 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletins/_quick_edit_basic.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletins/_quick_edit_basic.html.erb @@ -35,16 +35,19 @@
-
-
- -
- - - + <% if news_show_form_status_field(@news_bulletin)%> +
+
+ +
+ + + +
-
+ <% end -%> +