From 859e9ba847cf31a58d12eec8fd99babb8544fa15 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 12 Jun 2014 11:05:45 -0300 Subject: [PATCH] rails3: rename rhtml from display_content plugin --- plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb | 15 +++++++++++++++ plugins/display_content/views/box_organizer/_choose_by_content_type.rhtml | 15 --------------- plugins/display_content/views/box_organizer/_choose_directly.html.erb | 30 ++++++++++++++++++++++++++++++ plugins/display_content/views/box_organizer/_choose_directly.rhtml | 30 ------------------------------ 4 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb delete mode 100644 plugins/display_content/views/box_organizer/_choose_by_content_type.rhtml create mode 100644 plugins/display_content/views/box_organizer/_choose_directly.html.erb delete mode 100644 plugins/display_content/views/box_organizer/_choose_directly.rhtml diff --git a/plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb b/plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb new file mode 100644 index 0000000..1e095d0 --- /dev/null +++ b/plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb @@ -0,0 +1,15 @@ +<%= label :block, :types, _('Display content types:'), :class => 'formlabel' %> +
+ <% @block.first_content_types.each do |type| %> + <%= labelled_form_field check_box(:block, 'types', {:multiple => true}, type.name, nil) + _(type.short_description), '' %> + <% end %> + <% if !@block.more_content_types.empty? %> + <%= _('more') %> + <% end %> + +
+ diff --git a/plugins/display_content/views/box_organizer/_choose_by_content_type.rhtml b/plugins/display_content/views/box_organizer/_choose_by_content_type.rhtml deleted file mode 100644 index 1e095d0..0000000 --- a/plugins/display_content/views/box_organizer/_choose_by_content_type.rhtml +++ /dev/null @@ -1,15 +0,0 @@ -<%= label :block, :types, _('Display content types:'), :class => 'formlabel' %> -
- <% @block.first_content_types.each do |type| %> - <%= labelled_form_field check_box(:block, 'types', {:multiple => true}, type.name, nil) + _(type.short_description), '' %> - <% end %> - <% if !@block.more_content_types.empty? %> - <%= _('more') %> - <% end %> - -
- diff --git a/plugins/display_content/views/box_organizer/_choose_directly.html.erb b/plugins/display_content/views/box_organizer/_choose_directly.html.erb new file mode 100644 index 0000000..9b0c8b1 --- /dev/null +++ b/plugins/display_content/views/box_organizer/_choose_directly.html.erb @@ -0,0 +1,30 @@ +
+
+ +
+ <%= labelled_form_field check_box(:block, :display_folder_children) + _('Dinamically load children of selected folders'), '' %> +
+ + diff --git a/plugins/display_content/views/box_organizer/_choose_directly.rhtml b/plugins/display_content/views/box_organizer/_choose_directly.rhtml deleted file mode 100644 index 9b0c8b1..0000000 --- a/plugins/display_content/views/box_organizer/_choose_directly.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -
-
- -
- <%= labelled_form_field check_box(:block, :display_folder_children) + _('Dinamically load children of selected folders'), '' %> -
- - -- libgit2 0.21.2