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