diff --git a/lib/community_hub_plugin/hub.rb b/lib/community_hub_plugin/hub.rb
index 506ff63..74af124 100644
--- a/lib/community_hub_plugin/hub.rb
+++ b/lib/community_hub_plugin/hub.rb
@@ -37,7 +37,7 @@ class CommunityHubPlugin::Hub < Folder
author_id = 54
if action==:start
thread = Thread.new {
- Twurl::Stream.run(hub, author_id,'torrent', File.dirname(__FILE__) + '/../../tweeter_stream/config/twurlrc')
+ Twurl::Stream.run(hub, author_id,'#ArenaNETmundial', File.dirname(__FILE__) + '/../../tweeter_stream/config/twurlrc')
} unless@@twitter_thread_started
@@twitter_thread_started = true
end
diff --git a/views/community_hub_plugin_public/_post.rhtml b/views/community_hub_plugin_public/_post.rhtml
index 121a939..7cc4187 100644
--- a/views/community_hub_plugin_public/_post.rhtml
+++ b/views/community_hub_plugin_public/_post.rhtml
@@ -3,20 +3,24 @@
- <%= post_time(post.created_at) %>
- - <%= image_tag(profile_icon(post.author, :minor)) %>
- - <%= post.author_name %>:
<%= post.body %>
+ -
+ <% if post.title == 'hub-message-twitter' %>
+ <%= image_tag('/designs/themes/default/images/logo_twitter_bird_blue_50x50.png', :alt => "Twitter") %>
+ <% elsif post.title == 'hub-message-facebook' %>
+ <%= image_tag('/designs/themes/default/images/logo-facebook-50x50.png', :alt => "Facebook") %>
+ <% else %>
+ <%= image_tag(profile_icon(post.author, :minor)) %>
+ <% end %>
+
+ - <%= post.author_name %>: <%= post.body %>
- <% if mediator?(hub) %>
+ <% if mediator?(hub) && post.title != 'hub-message-twitter' && post.title != 'hub-message-facebook' %>
-
-
-
" src="/designs/icons/default/outras/16x16/actions/spread.png" />
- <% end %>
-
- <% if mediator?(hub) %>
-
<% if !pinned_message?(hub, post.id) %>
@@ -26,7 +30,6 @@
<% end %>
-
--
libgit2 0.21.2