Commit 762bd70c4475c6f9f580d6c6a61e35df1eb14902
1 parent
b3c2cadd
Exists in
master
and in
5 other branches
Comment all articles needed for software template
Showing
1 changed file
with
13 additions
and
1 deletions
Show diff stats
lib/tasks/templates.rake
... | ... | @@ -131,7 +131,7 @@ namespace :templates do |
131 | 131 | profile_image_block.display = "except_home_page" |
132 | 132 | profile_image_block.show_name = false |
133 | 133 | profile_image_block.save! |
134 | - | |
134 | + | |
135 | 135 | box3.blocks << profile_image_block |
136 | 136 | box3.save! |
137 | 137 | puts "ProfileImageBlock successfully added to software!" |
... | ... | @@ -276,3 +276,15 @@ namespace :templates do |
276 | 276 | end |
277 | 277 | end |
278 | 278 | |
279 | +#Articles para software template | |
280 | +#[#<TinyMceArticle id: 38, name: "Perguntas Frequentes", slug: "perguntas-frequentes", path: "perguntas-frequentes", parent_id: nil, body: "<h3 style=\"text-align: justify;\">Pergunta 1</h3>\r\n<...", abstract: "", profile_id: 12, updated_at: "2014-10-29 21:11:14", created_at: "2014-10-29 21:00:27", last_changed_by_id: 5, version: 6, type: "TinyMceArticle", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: true, reference_article_id: nil, setting: {:allow_members_to_edit=>false, :moderate_comments=>false, :display_hits=>true, :display_versions=>false, :author_name=>"adminuser"}, notify_comments: true, hits: 14, published_at: "2014-10-29 21:00:27", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: "pt", source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>, | |
281 | +#<Blog id: 32, name: "Blog", slug: "blog", path: "blog", parent_id: nil, body: nil, abstract: nil, profile_id: 12, updated_at: "2014-10-29 19:30:49", created_at: "2014-10-29 19:30:48", last_changed_by_id: nil, version: 1, type: "Blog", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: false, published: true, start_date: nil, end_date: nil, children_count: 1, accept_comments: true, reference_article_id: nil, setting: {}, notify_comments: true, hits: 7, published_at: "2014-10-17 16:43:25", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: nil, image_id: nil, position: nil, spam_comments_count: 0, author_id: nil, created_by_id: nil>, | |
282 | +#<RssFeed id: 33, name: "feed", slug: "feed", path: "blog/feed", parent_id: 32, body: {}, abstract: nil, profile_id: 12, updated_at: "2014-10-29 19:30:48", created_at: "2014-10-29 19:30:48", last_changed_by_id: nil, version: 1, type: "RssFeed", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: false, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: true, reference_article_id: nil, setting: {}, notify_comments: true, hits: 0, published_at: "2014-10-29 19:30:48", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: nil, image_id: nil, position: nil, spam_comments_count: 0, author_id: nil, created_by_id: nil>, | |
283 | +#<Folder id: 35, name: "Manuais de Usuário", slug: "manuais-de-usuario", path: "manuais-de-usuario", parent_id: nil, body: "Pasta destinada para manuais de uso do Software", abstract: nil, profile_id: 12, updated_at: "2014-10-29 20:47:23", created_at: "2014-10-29 20:47:23", last_changed_by_id: 5, version: 1, type: "Folder", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: false, reference_article_id: nil, setting: {:author_name=>"adminuser"}, notify_comments: true, hits: 5, published_at: "2014-10-29 20:47:23", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>, | |
284 | +#<Gallery id: 34, name: "Gallery", slug: "gallery", path: "gallery", parent_id: nil, body: nil, abstract: nil, profile_id: 12, updated_at: "2014-10-29 19:30:49", created_at: "2014-10-29 19:30:49", last_changed_by_id: nil, version: 1, type: "Gallery", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: false, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: true, reference_article_id: nil, setting: {}, notify_comments: true, hits: 0, published_at: "2014-10-17 16:43:25", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: nil, image_id: nil, position: nil, spam_comments_count: 0, author_id: nil, created_by_id: nil>, | |
285 | +#<RssFeed id: 37, name: "feed", slug: "feed", path: "forum-de-duvidas-e-discussao/feed", parent_id: 36, body: {}, abstract: nil, profile_id: 12, updated_at: "2014-10-29 20:50:58", created_at: "2014-10-29 20:50:58", last_changed_by_id: nil, version: 1, type: "RssFeed", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: false, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: true, reference_article_id: nil, setting: {}, notify_comments: true, hits: 0, published_at: "2014-10-29 20:50:58", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: nil, image_id: nil, position: nil, spam_comments_count: 0, author_id: nil, created_by_id: nil>, | |
286 | +#<Folder id: 39, name: "Versões Estáveis", slug: "versoes-estaveis", path: "versoes-estaveis", parent_id: nil, body: "Pasta com os pacotes para download das versões exis...", abstract: nil, profile_id: 12, updated_at: "2014-10-29 21:14:46", created_at: "2014-10-29 21:14:46", last_changed_by_id: 5, version: 1, type: "Folder", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: false, reference_article_id: nil, setting: {:author_name=>"adminuser"}, notify_comments: true, hits: 11, published_at: "2014-10-29 21:14:46", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>, | |
287 | +#<Forum id: 36, name: "Fórum de Dúvidas e Discussão", slug: "forum-de-duvidas-e-discussao", path: "forum-de-duvidas-e-discussao", parent_id: nil, body: "Fórum destinado para dúvidas e discussões técnicas ...", abstract: nil, profile_id: 12, updated_at: "2014-10-29 20:50:58", created_at: "2014-10-29 20:50:58", last_changed_by_id: 5, version: 1, type: "Forum", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 1, accept_comments: true, reference_article_id: nil, setting: {:posts_per_page=>10, :has_terms_of_use=>false, :terms_of_use=>"", :allow_members_to_edit=>false, :moderate_comments=>false, :allows_members_to_create_topics=>true, :author_name=>"adminuser"}, notify_comments: true, hits: 2, published_at: "2014-10-29 20:50:58", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: nil, source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>, | |
288 | +#<TinyMceArticle id: 40, name: "Tutorial de Instalação", slug: "tutorial-de-instalacao", path: "tutorial-de-instalacao", parent_id: nil, body: "<h2>Introdução</h2>\r\n<p>Texto introdutório à página...", abstract: "", profile_id: 12, updated_at: "2014-10-29 22:01:37", created_at: "2014-10-29 22:01:37", last_changed_by_id: 5, version: 1, type: "TinyMceArticle", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: true, reference_article_id: nil, setting: {:allow_members_to_edit=>false, :moderate_comments=>false, :display_hits=>true, :display_versions=>false, :author_name=>"adminuser"}, notify_comments: true, hits: 7, published_at: "2014-10-29 22:01:37", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: "pt", source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>, | |
289 | +#<TinyMceArticle id: 42, name: "Versões", slug: "versoes", path: "versoes", parent_id: nil, body: "<p>Texto com detalhamento das mudanças que cada ver...", abstract: "", profile_id: 12, updated_at: "2014-10-30 19:17:10", created_at: "2014-10-30 18:55:08", last_changed_by_id: 5, version: 3, type: "TinyMceArticle", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: true, reference_article_id: nil, setting: {:allow_members_to_edit=>false, :moderate_comments=>false, :display_hits=>true, :display_versions=>false, :author_name=>"adminuser"}, notify_comments: true, hits: 10, published_at: "2014-10-30 18:55:08", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: "pt", source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>, | |
290 | +#<TinyMceArticle id: 41, name: "Sobre o Software (INFORMAR NOME)", slug: "sobre-o-software-informar-nome", path: "sobre-o-software-informar-nome", parent_id: nil, body: "<p>Texto com explicação detalhada sobre o Software....", abstract: "", profile_id: 12, updated_at: "2014-10-30 13:57:05", created_at: "2014-10-30 13:54:40", last_changed_by_id: 5, version: 3, type: "TinyMceArticle", size: nil, content_type: nil, filename: nil, height: nil, width: nil, comments_count: 0, advertise: true, published: true, start_date: nil, end_date: nil, children_count: 0, accept_comments: false, reference_article_id: nil, setting: {:allow_members_to_edit=>false, :moderate_comments=>false, :display_hits=>true, :display_versions=>false, :author_name=>"adminuser"}, notify_comments: false, hits: 72, published_at: "2014-10-30 13:54:40", source: nil, highlighted: false, external_link: nil, thumbnails_processed: false, is_image: false, translation_of_id: nil, language: "pt", source_name: nil, license_id: 1, image_id: nil, position: nil, spam_comments_count: 0, author_id: 5, created_by_id: 5>] | |
279 | 291 | \ No newline at end of file | ... | ... |