From 905f7416e59fdbd3f195edce107a1ad6f564429e Mon Sep 17 00:00:00 2001 From: Francisco Marcelo de Araújo Lima Júnior Date: Fri, 23 May 2014 13:56:46 -0300 Subject: [PATCH] rename partials --- views/community_hub_plugin_public/_banner.html.erb | 3 +++ views/community_hub_plugin_public/_banner.rhtml | 3 --- views/community_hub_plugin_public/_embed.html.erb | 11 +++++++++++ views/community_hub_plugin_public/_embed.rhtml | 11 ----------- views/community_hub_plugin_public/_mediation.html.erb | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ views/community_hub_plugin_public/_mediation.rhtml | 87 --------------------------------------------------------------------------------------- views/community_hub_plugin_public/_mediation_comment.html.erb | 6 ++++++ views/community_hub_plugin_public/_mediation_comment.rhtml | 6 ------ views/community_hub_plugin_public/_mediation_comment_form.html.erb | 12 ++++++++++++ views/community_hub_plugin_public/_mediation_comment_form.rhtml | 12 ------------ views/community_hub_plugin_public/_post.html.erb | 34 ++++++++++++++++++++++++++++++++++ views/community_hub_plugin_public/_post.rhtml | 34 ---------------------------------- views/community_hub_plugin_public/_settings.html.erb | 7 +++++++ views/community_hub_plugin_public/_settings.rhtml | 7 ------- 14 files changed, 160 insertions(+), 160 deletions(-) create mode 100644 views/community_hub_plugin_public/_banner.html.erb delete mode 100644 views/community_hub_plugin_public/_banner.rhtml create mode 100644 views/community_hub_plugin_public/_embed.html.erb delete mode 100644 views/community_hub_plugin_public/_embed.rhtml create mode 100644 views/community_hub_plugin_public/_mediation.html.erb delete mode 100644 views/community_hub_plugin_public/_mediation.rhtml create mode 100644 views/community_hub_plugin_public/_mediation_comment.html.erb delete mode 100644 views/community_hub_plugin_public/_mediation_comment.rhtml create mode 100644 views/community_hub_plugin_public/_mediation_comment_form.html.erb delete mode 100644 views/community_hub_plugin_public/_mediation_comment_form.rhtml create mode 100644 views/community_hub_plugin_public/_post.html.erb delete mode 100644 views/community_hub_plugin_public/_post.rhtml create mode 100644 views/community_hub_plugin_public/_settings.html.erb delete mode 100644 views/community_hub_plugin_public/_settings.rhtml diff --git a/views/community_hub_plugin_public/_banner.html.erb b/views/community_hub_plugin_public/_banner.html.erb new file mode 100644 index 0000000..4453ecc --- /dev/null +++ b/views/community_hub_plugin_public/_banner.html.erb @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/views/community_hub_plugin_public/_banner.rhtml b/views/community_hub_plugin_public/_banner.rhtml deleted file mode 100644 index 4453ecc..0000000 --- a/views/community_hub_plugin_public/_banner.rhtml +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/views/community_hub_plugin_public/_embed.html.erb b/views/community_hub_plugin_public/_embed.html.erb new file mode 100644 index 0000000..dc69d6a --- /dev/null +++ b/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/views/community_hub_plugin_public/_embed.rhtml b/views/community_hub_plugin_public/_embed.rhtml deleted file mode 100644 index dc69d6a..0000000 --- a/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/views/community_hub_plugin_public/_mediation.html.erb b/views/community_hub_plugin_public/_mediation.html.erb new file mode 100644 index 0000000..fdccdd3 --- /dev/null +++ b/views/community_hub_plugin_public/_mediation.html.erb @@ -0,0 +1,87 @@ +<% extend CommunityHubPlugin::HubHelper %> + +
  • + + + + <% total_mediation_comments = mediation.comments.count %> + + + <%= link_to( "#{total_mediation_comments} " + _("Comments") , '#', + :class => 'display-comment-form', + :id => 'top-post-comment-button', + :onclick => "toogle_mediation_comments(#{mediation.id}); return false;") %> + + + + + + + <% if logged_in? && mediation.accept_comments? %> + + <% end %> + +
  • diff --git a/views/community_hub_plugin_public/_mediation.rhtml b/views/community_hub_plugin_public/_mediation.rhtml deleted file mode 100644 index fdccdd3..0000000 --- a/views/community_hub_plugin_public/_mediation.rhtml +++ /dev/null @@ -1,87 +0,0 @@ -<% extend CommunityHubPlugin::HubHelper %> - -
  • - - - - <% total_mediation_comments = mediation.comments.count %> - - - <%= link_to( "#{total_mediation_comments} " + _("Comments") , '#', - :class => 'display-comment-form', - :id => 'top-post-comment-button', - :onclick => "toogle_mediation_comments(#{mediation.id}); return false;") %> - - - - - - - <% if logged_in? && mediation.accept_comments? %> - - <% end %> - -
  • diff --git a/views/community_hub_plugin_public/_mediation_comment.html.erb b/views/community_hub_plugin_public/_mediation_comment.html.erb new file mode 100644 index 0000000..5219927 --- /dev/null +++ b/views/community_hub_plugin_public/_mediation_comment.html.erb @@ -0,0 +1,6 @@ +
  • + +
  • \ No newline at end of file diff --git a/views/community_hub_plugin_public/_mediation_comment.rhtml b/views/community_hub_plugin_public/_mediation_comment.rhtml deleted file mode 100644 index 5219927..0000000 --- a/views/community_hub_plugin_public/_mediation_comment.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -
  • - -
  • \ No newline at end of file diff --git a/views/community_hub_plugin_public/_mediation_comment_form.html.erb b/views/community_hub_plugin_public/_mediation_comment_form.html.erb new file mode 100644 index 0000000..3579fac --- /dev/null +++ b/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/views/community_hub_plugin_public/_mediation_comment_form.rhtml b/views/community_hub_plugin_public/_mediation_comment_form.rhtml deleted file mode 100644 index 3579fac..0000000 --- a/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/views/community_hub_plugin_public/_post.html.erb b/views/community_hub_plugin_public/_post.html.erb new file mode 100644 index 0000000..6f26978 --- /dev/null +++ b/views/community_hub_plugin_public/_post.html.erb @@ -0,0 +1,34 @@ +<% extend CommunityHubPlugin::HubHelper %> + +
  • + +
  • diff --git a/views/community_hub_plugin_public/_post.rhtml b/views/community_hub_plugin_public/_post.rhtml deleted file mode 100644 index 6f26978..0000000 --- a/views/community_hub_plugin_public/_post.rhtml +++ /dev/null @@ -1,34 +0,0 @@ -<% extend CommunityHubPlugin::HubHelper %> - -
  • - -
  • diff --git a/views/community_hub_plugin_public/_settings.html.erb b/views/community_hub_plugin_public/_settings.html.erb new file mode 100644 index 0000000..68e6f50 --- /dev/null +++ b/views/community_hub_plugin_public/_settings.html.erb @@ -0,0 +1,7 @@ +
    + +
    diff --git a/views/community_hub_plugin_public/_settings.rhtml b/views/community_hub_plugin_public/_settings.rhtml deleted file mode 100644 index 68e6f50..0000000 --- a/views/community_hub_plugin_public/_settings.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -
    - -
    -- libgit2 0.21.2