diff --git a/views/cms/community_hub_plugin/_hub.html.erb b/views/cms/community_hub_plugin/_hub.html.erb index ae18bcc..a930611 100644 --- a/views/cms/community_hub_plugin/_hub.html.erb +++ b/views/cms/community_hub_plugin/_hub.html.erb @@ -11,36 +11,39 @@

<%= _('Twitter Settings:') %>

-
- <%= check_box(:article, :twitter_enabled) %> <%= _("Turn on TWITTER") %> -
- <%= labelled_form_field(_('Twitter\'s Hashtags, comma separated words
(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %>
+ + <%= check_box(:article, :twitter_enabled) %> + <%= _("Turn on TWITTER") %> + + <%= labelled_form_field(_('Twitter\'s Hashtags, comma separated (example: participa.br,participabr)'), text_field(:article, :twitter_hashtags)) %> +
<%= labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %> -
+
<%= labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %> -
+
<%= labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %> -
+
<%= labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %> -
-
+ +

<%= _('Facebook Settings:') %>

-
- <%= check_box(:article, :facebook_enabled) %> <%= _("Turn on FACEBOOK") %> -

- <%= labelled_form_field(_('Facebook\'s hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %> -
- <%= labelled_form_field(_('Facebook\'s access token'), text_field(:article, :facebook_access_token)) %> + + <%= check_box(:article, :facebook_enabled) %> + <%= _("Turn on FACEBOOK") %> + + <%= labelled_form_field(_('Facebook\'s hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %> + + <%= labelled_form_field(_('Facebook\'s access token'), text_field(:article, :facebook_access_token)) %>
<%= _('How to get a new access token?') %>
- \ No newline at end of file + diff --git a/views/content_viewer/hub.html.erb b/views/content_viewer/hub.html.erb index 8401b80..ad8dff4 100644 --- a/views/content_viewer/hub.html.erb +++ b/views/content_viewer/hub.html.erb @@ -35,10 +35,11 @@ :action => 'new_message', :article_id => @page.id } do |f| %> - <%= _("Streaming") %> + <%= _("Message") %>:
<%= f.text_area :body, :style => "width: 99%;", :cols => "38", :rows => "5", :placeholder => _("Type your message here") %> - <%= submit_button('add', _('Post'), :onclick => 'new_message(this); return false;') %> + <%= submit_button('add', _('Send'), :onclick => 'new_message(this); return false;') %> + <% end %> @@ -75,7 +76,7 @@ } do |f| %> <%= f.hidden_field :parent_id, :value => @page.id %> <%= f.text_area :body, :style => "width: 100%;", :class => "mceEditor" %> - <%= submit_button('add', _('Post'), :onclick => 'new_mediation(this); return false;') %> + <%= submit_button('add', _('Send'), :onclick => 'new_mediation(this); return false;') %> <% end %> -- libgit2 0.21.2