diff --git a/plugins/community_hub/views/community_hub_plugin_public/_banner.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_banner.html.erb
new file mode 100644
index 0000000..4453ecc
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_banner.html.erb
@@ -0,0 +1,3 @@
+
+ <%= _("BANNER SPACE") %>
+
\ No newline at end of file
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_banner.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_banner.rhtml
deleted file mode 100644
index 4453ecc..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_banner.rhtml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- <%= _("BANNER SPACE") %>
-
\ No newline at end of file
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_embed.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_embed.html.erb
new file mode 100644
index 0000000..dc69d6a
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_embed.html.erb
@@ -0,0 +1,11 @@
+<% extend CommunityHubPlugin::HubHelper %>
+
+
+ Embed / <%= _("Embed") %>
+
+
\ No newline at end of file
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_embed.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_embed.rhtml
deleted file mode 100644
index dc69d6a..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_embed.rhtml
+++ /dev/null
@@ -1,11 +0,0 @@
-<% extend CommunityHubPlugin::HubHelper %>
-
-
- Embed / <%= _("Embed") %>
-
-
\ No newline at end of file
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_mediation.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_mediation.html.erb
new file mode 100644
index 0000000..fdccdd3
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_mediation.html.erb
@@ -0,0 +1,87 @@
+<% extend CommunityHubPlugin::HubHelper %>
+
+
+
+
+ - <%= post_time(mediation.created_at) %>
+
+ -
+ <% if mediation.source == 'twitter' %>
+ <%= image_tag(mediation.profile_picture, :alt => "Twitter") %>
+ <% elsif mediation.source == 'facebook' %>
+ <%= image_tag('/plugins/community_hub/icons/logo_facebook_50x50.png', :alt => "Facebook") %>
+ <% else %>
+ <%= image_tag(profile_icon(mediation.author, :minor)) if mediation.author %>
+ <% end %>
+
+ - <%= mediation.setting[:author_name] %>: <%= mediation.body %>
+
+ <% if mediator?(hub) %>
+ -
+
+
+
+ <% if mediation.source != 'twitter' && mediation.source != 'facebook' %>
+
+ -
+ <% if !promoted?(hub, mediation.author.id) %>
+
+
" />
+
+ <% else %>
+
" />
+ <% end %>
+
+
+ <% end %>
+
+ <% if pinned_mediation?(hub, mediation.id) %>
+ -
+
" />
+
+ <% end %>
+
+
+
+
+ <% end %>
+
+
+
+ <% total_mediation_comments = mediation.comments.count %>
+
+
+
+
+
+
+
+ <% if logged_in? && mediation.accept_comments? %>
+
+ <% end %>
+
+
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_mediation.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_mediation.rhtml
deleted file mode 100644
index fdccdd3..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_mediation.rhtml
+++ /dev/null
@@ -1,87 +0,0 @@
-<% extend CommunityHubPlugin::HubHelper %>
-
-
-
-
- - <%= post_time(mediation.created_at) %>
-
- -
- <% if mediation.source == 'twitter' %>
- <%= image_tag(mediation.profile_picture, :alt => "Twitter") %>
- <% elsif mediation.source == 'facebook' %>
- <%= image_tag('/plugins/community_hub/icons/logo_facebook_50x50.png', :alt => "Facebook") %>
- <% else %>
- <%= image_tag(profile_icon(mediation.author, :minor)) if mediation.author %>
- <% end %>
-
- - <%= mediation.setting[:author_name] %>: <%= mediation.body %>
-
- <% if mediator?(hub) %>
- -
-
-
-
- <% if mediation.source != 'twitter' && mediation.source != 'facebook' %>
-
- -
- <% if !promoted?(hub, mediation.author.id) %>
-
-
" />
-
- <% else %>
-
" />
- <% end %>
-
-
- <% end %>
-
- <% if pinned_mediation?(hub, mediation.id) %>
- -
-
" />
-
- <% end %>
-
-
-
-
- <% end %>
-
-
-
- <% total_mediation_comments = mediation.comments.count %>
-
-
-
-
-
-
-
- <% if logged_in? && mediation.accept_comments? %>
-
- <% end %>
-
-
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment.html.erb
new file mode 100644
index 0000000..5219927
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment.html.erb
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment.rhtml
deleted file mode 100644
index 5219927..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment.rhtml
+++ /dev/null
@@ -1,6 +0,0 @@
-
\ No newline at end of file
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment_form.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment_form.html.erb
new file mode 100644
index 0000000..3579fac
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment_form.html.erb
@@ -0,0 +1,12 @@
+<% form_for :message,
+ :method => 'post',
+ :url => {
+ :controller => 'community_hub_plugin_public',
+ :action => 'new_message',
+ :article_id => mediation.id
+ } do |f| %>
+ <%= f.text_area(:body,
+ :rows => 4,
+ :placeholder => _('Type your comment here')) %>
+ <%= submit_button('add', _('Post'), :onclick => "new_mediation_comment(this,#{mediation.id}); return false;") %>
+<% end %>
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment_form.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment_form.rhtml
deleted file mode 100644
index 3579fac..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_mediation_comment_form.rhtml
+++ /dev/null
@@ -1,12 +0,0 @@
-<% form_for :message,
- :method => 'post',
- :url => {
- :controller => 'community_hub_plugin_public',
- :action => 'new_message',
- :article_id => mediation.id
- } do |f| %>
- <%= f.text_area(:body,
- :rows => 4,
- :placeholder => _('Type your comment here')) %>
- <%= submit_button('add', _('Post'), :onclick => "new_mediation_comment(this,#{mediation.id}); return false;") %>
-<% end %>
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_post.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_post.html.erb
new file mode 100644
index 0000000..6f26978
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_post.html.erb
@@ -0,0 +1,34 @@
+<% extend CommunityHubPlugin::HubHelper %>
+
+
+
+ - <%= post_time(post.created_at) %>
+ -
+ <% if post.title == 'hub-message-twitter' %>
+ <%= image_tag(post.profile_picture, :alt => "Twitter") %>
+ <% elsif post.title == 'hub-message-facebook' %>
+ <%= image_tag('/plugins/community_hub/icons/logo_facebook_50x50.png', :alt => "Facebook") %>
+ <% else %>
+ <%= image_tag(profile_icon(post.author, :minor)) if post.author %>
+ <% end %>
+
+ - <%= post.author_name %>: <%= post.body %>
+
+ <% if mediator?(hub) && post.title != 'hub-message-facebook' %>
+ -
+
+ -
+ <% if !pinned_message?(hub, post.id) %>
+
+
" />
+
+ <% else %>
+
" />
+ <% end %>
+
+
+
+ <% end %>
+
+
+
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_post.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_post.rhtml
deleted file mode 100644
index 6f26978..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_post.rhtml
+++ /dev/null
@@ -1,34 +0,0 @@
-<% extend CommunityHubPlugin::HubHelper %>
-
-
-
- - <%= post_time(post.created_at) %>
- -
- <% if post.title == 'hub-message-twitter' %>
- <%= image_tag(post.profile_picture, :alt => "Twitter") %>
- <% elsif post.title == 'hub-message-facebook' %>
- <%= image_tag('/plugins/community_hub/icons/logo_facebook_50x50.png', :alt => "Facebook") %>
- <% else %>
- <%= image_tag(profile_icon(post.author, :minor)) if post.author %>
- <% end %>
-
- - <%= post.author_name %>: <%= post.body %>
-
- <% if mediator?(hub) && post.title != 'hub-message-facebook' %>
- -
-
- -
- <% if !pinned_message?(hub, post.id) %>
-
-
" />
-
- <% else %>
-
" />
- <% end %>
-
-
-
- <% end %>
-
-
-
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_settings.html.erb b/plugins/community_hub/views/community_hub_plugin_public/_settings.html.erb
new file mode 100644
index 0000000..68e6f50
--- /dev/null
+++ b/plugins/community_hub/views/community_hub_plugin_public/_settings.html.erb
@@ -0,0 +1,7 @@
+
+
+ -
+ <%= link_to _("General settings"), :controller => 'cms', :action => 'edit', :id => @page.id %>
+
+
+
diff --git a/plugins/community_hub/views/community_hub_plugin_public/_settings.rhtml b/plugins/community_hub/views/community_hub_plugin_public/_settings.rhtml
deleted file mode 100644
index 68e6f50..0000000
--- a/plugins/community_hub/views/community_hub_plugin_public/_settings.rhtml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- -
- <%= link_to _("General settings"), :controller => 'cms', :action => 'edit', :id => @page.id %>
-
-
-
--
libgit2 0.21.2