Commit 88a8110f3bde16d6ae1bbccd1b54911514af2d79

Authored by Francisco Marcelo de Araújo Lima Júnior
1 parent 10869bc5

rename partial

plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb 0 → 100644
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
  1 +<div class='hub'>
  2 + <h1><%= _("HUB Settings:") %></h1>
  3 + <%= required_fields_message %>
  4 + <div>
  5 + <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %>
  6 + </div>
  7 + <div>
  8 + <%= render :file => 'shared/tiny_mce' %>
  9 + <%= required labelled_form_field(_('Description'), text_area(:article, 'body', :style => 'width: 100%;', :class => 'mceEditor')) %>
  10 + </div>
  11 + <br />
  12 + <div>
  13 + <%= _('General Streaming Settings:') %>
  14 + </div>
  15 + <br />
  16 + <div>
  17 + <%= _('Twitter Settings:') %>
  18 + </div>
  19 + <br />
  20 + <%= check_box(:article, :twitter_enabled) %> <span><%= _("Turn on TWITTER") %></span>
  21 + <br />
  22 + <br />
  23 + <span><%= required labelled_form_field(_('Twitter\'s Hashtags, comma separated words<br>(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %></span>
  24 + <br />
  25 + <br />
  26 + <span><%= required labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %></span>
  27 + <br />
  28 + <br />
  29 + <span><%= required labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %></span>
  30 + <br />
  31 + <br />
  32 + <span><%= required labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %></span>
  33 + <br />
  34 + <br />
  35 + <span><%= required labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %></span>
  36 + <br />
  37 +</div>
plugins/community_hub/views/cms/community_hub_plugin/_hub.rhtml
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -<div class='hub'>  
2 - <h1><%= _("HUB Settings:") %></h1>  
3 - <%= required_fields_message %>  
4 - <div>  
5 - <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %>  
6 - </div>  
7 - <div>  
8 - <%= render :file => 'shared/tiny_mce' %>  
9 - <%= required labelled_form_field(_('Description'), text_area(:article, 'body', :style => 'width: 100%;', :class => 'mceEditor')) %>  
10 - </div>  
11 - <br />  
12 - <div>  
13 - <%= _('General Streaming Settings:') %>  
14 - </div>  
15 - <br />  
16 - <div>  
17 - <%= _('Twitter Settings:') %>  
18 - </div>  
19 - <br />  
20 - <%= check_box(:article, :twitter_enabled) %> <span><%= _("Turn on TWITTER") %></span>  
21 - <br />  
22 - <br />  
23 - <span><%= required labelled_form_field(_('Twitter\'s Hashtags, comma separated words<br>(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %></span>  
24 - <br />  
25 - <br />  
26 - <span><%= required labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %></span>  
27 - <br />  
28 - <br />  
29 - <span><%= required labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %></span>  
30 - <br />  
31 - <br />  
32 - <span><%= required labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %></span>  
33 - <br />  
34 - <br />  
35 - <span><%= required labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %></span>  
36 - <br />  
37 -</div>