diff options
author | Philip Arndt <parndt@gmail.com> | 2010-11-23 09:34:11 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-11-23 09:34:11 +1300 |
commit | 97101633ca5f0a94560d18adc0df41ca8f60eed7 (patch) | |
tree | c2414815b5476c3982647095af1625d459506af6 /app/views | |
parent | 8b1fd448316a69d4849ff47d9948364dbbbc4db1 (diff) | |
download | refinerycms-blog-97101633ca5f0a94560d18adc0df41ca8f60eed7.tar.gz refinerycms-blog-97101633ca5f0a94560d18adc0df41ca8f60eed7.tar.bz2 refinerycms-blog-97101633ca5f0a94560d18adc0df41ca8f60eed7.zip |
Consistent whitespace.
Diffstat (limited to 'app/views')
21 files changed, 28 insertions, 28 deletions
diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb index 6f27722..dcf2f4e 100644 --- a/app/views/admin/blog/_submenu.html.erb +++ b/app/views/admin/blog/_submenu.html.erb @@ -86,4 +86,4 @@ <% end %> <% else %> <% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog')%> -<% end %>
\ No newline at end of file +<% end %> diff --git a/app/views/admin/blog/categories/_form.html.erb b/app/views/admin/blog/categories/_form.html.erb index 247f31b..28227ae 100644 --- a/app/views/admin/blog/categories/_form.html.erb +++ b/app/views/admin/blog/categories/_form.html.erb @@ -8,7 +8,7 @@ :include_object_name => true } %> <% end %> - + <div class='field'> <%= f.label :title -%> <%= f.text_field :title, :class => 'larger widest' -%> @@ -20,4 +20,4 @@ :continue_editing => false, :delete_title => t('admin.blog.categories.category.delete') } %> -<% end %>
\ No newline at end of file +<% end %> diff --git a/app/views/admin/blog/categories/edit.html.erb b/app/views/admin/blog/categories/edit.html.erb index 42509a2..2872e82 100644 --- a/app/views/admin/blog/categories/edit.html.erb +++ b/app/views/admin/blog/categories/edit.html.erb @@ -1 +1 @@ -<%= render :partial => "form" %>
\ No newline at end of file +<%= render :partial => "form" %> diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb index 9bd50a8..d9ccae6 100644 --- a/app/views/admin/blog/categories/index.html.erb +++ b/app/views/admin/blog/categories/index.html.erb @@ -27,4 +27,4 @@ </p> <% end %> <% end %> -</div>
\ No newline at end of file +</div> diff --git a/app/views/admin/blog/categories/new.html.erb b/app/views/admin/blog/categories/new.html.erb index 42509a2..2872e82 100644 --- a/app/views/admin/blog/categories/new.html.erb +++ b/app/views/admin/blog/categories/new.html.erb @@ -1 +1 @@ -<%= render :partial => "form" %>
\ No newline at end of file +<%= render :partial => "form" %> diff --git a/app/views/admin/blog/comments/_comment.html.erb b/app/views/admin/blog/comments/_comment.html.erb index 52a8167..1817c48 100644 --- a/app/views/admin/blog/comments/_comment.html.erb +++ b/app/views/admin/blog/comments/_comment.html.erb @@ -10,10 +10,10 @@ :target => "_blank" unless comment.unmoderated? %> <%= link_to refinery_icon_tag('zoom.png'), admin_blog_comment_path(comment), :title => t('.read') %> - <%= link_to refinery_icon_tag("cross.png"), + <%= link_to refinery_icon_tag("cross.png"), rejected_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')), :title => t('.reject') unless comment.rejected? %> - <%= link_to refinery_icon_tag("tick.png"), + <%= link_to refinery_icon_tag("tick.png"), approved_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')), :title => t('.approve') unless comment.approved? %> </span> diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb index c1596a6..fbf268d 100644 --- a/app/views/admin/blog/comments/index.html.erb +++ b/app/views/admin/blog/comments/index.html.erb @@ -3,7 +3,7 @@ <% if searching? %> <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @blog_comments.any? %> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <ul> @@ -11,19 +11,19 @@ :collection => @blog_comments %> </ul> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <% else %> <p><%= t('admin.search_no_results') %></p> <% end %> <% else %> <% if @blog_comments.any? %> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <%= render :partial => "sortable_list" %> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <% else %> <h3> @@ -32,4 +32,4 @@ </h3> <% end %> <% end %> -</div>
\ No newline at end of file +</div> diff --git a/app/views/admin/blog/comments/show.html.erb b/app/views/admin/blog/comments/show.html.erb index 82a5f6f..4faa2de 100644 --- a/app/views/admin/blog/comments/show.html.erb +++ b/app/views/admin/blog/comments/show.html.erb @@ -63,4 +63,4 @@ <% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %> <% else %> <% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %> -<% end %>
\ No newline at end of file +<% end %> diff --git a/app/views/admin/blog/posts/_form.css.erb b/app/views/admin/blog/posts/_form.css.erb index d6f2c20..05c18cf 100644 --- a/app/views/admin/blog/posts/_form.css.erb +++ b/app/views/admin/blog/posts/_form.css.erb @@ -4,4 +4,4 @@ margin: 0px; padding: 0px; } -</style>
\ No newline at end of file +</style> diff --git a/app/views/admin/blog/posts/_form.js.erb b/app/views/admin/blog/posts/_form.js.erb index 394975f..1d65448 100644 --- a/app/views/admin/blog/posts/_form.js.erb +++ b/app/views/admin/blog/posts/_form.js.erb @@ -10,4 +10,4 @@ }, 250); }); }); -</script>
\ No newline at end of file +</script> diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb index ae825eb..d8c45a9 100644 --- a/app/views/admin/blog/posts/index.html.erb +++ b/app/views/admin/blog/posts/index.html.erb @@ -27,4 +27,4 @@ </p> <% end %> <% end %> -</div>
\ No newline at end of file +</div> diff --git a/app/views/blog/categories/show.html.erb b/app/views/blog/categories/show.html.erb index 54b5169..324c0fe 100644 --- a/app/views/blog/categories/show.html.erb +++ b/app/views/blog/categories/show.html.erb @@ -17,4 +17,4 @@ <% end %> <%= render :partial => "/shared/content_page" %> -<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
\ No newline at end of file +<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %> diff --git a/app/views/blog/posts/_nav.html.erb b/app/views/blog/posts/_nav.html.erb index 309cd64..e478ca6 100644 --- a/app/views/blog/posts/_nav.html.erb +++ b/app/views/blog/posts/_nav.html.erb @@ -10,4 +10,4 @@ <%= link_to "« ".html_safe + truncate(@blog_post.prev.title), @blog_post.prev, :class => 'prev', :"data-nav-url" => update_blog_nav_path(@blog_post.prev) %> <% end -%> </nav><!-- /next_prev_article --> -<% end -%>
\ No newline at end of file +<% end -%> diff --git a/app/views/blog/posts/_post.html.erb b/app/views/blog/posts/_post.html.erb index 3af89a8..b3efbe9 100644 --- a/app/views/blog/posts/_post.html.erb +++ b/app/views/blog/posts/_post.html.erb @@ -8,7 +8,7 @@ <h1><%= @blog_post.title %></h1> <details> <time datetime="<%= @blog_post.published_at.strftime('%Y-%m-%d') %>" class='posted_at'> - <%= t('blog.shared.posts.created_at', :when => @blog_post.published_at.strftime('%d %B %Y')) %>. + <%= t('blog.shared.posts.created_at', :when => @blog_post.published_at.strftime('%d %B %Y')) %>. </time> <% if (categories = @blog_post.categories).any? %> <aside class='filed_in'> @@ -30,4 +30,4 @@ <nav id="next_prev_article"> <%= render 'nav' %> </nav><!-- /next_prev_article --> -<% end -%>
\ No newline at end of file +<% end -%> diff --git a/app/views/blog/posts/archive.html.erb b/app/views/blog/posts/archive.html.erb index a5354ab..abeb0c1 100644 --- a/app/views/blog/posts/archive.html.erb +++ b/app/views/blog/posts/archive.html.erb @@ -16,4 +16,4 @@ <% end %> <%= render :partial => "/shared/content_page" %> -<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
\ No newline at end of file +<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %> diff --git a/app/views/blog/posts/index.html.erb b/app/views/blog/posts/index.html.erb index 1d054e1..ab0abf0 100644 --- a/app/views/blog/posts/index.html.erb +++ b/app/views/blog/posts/index.html.erb @@ -17,4 +17,4 @@ <% end %> <%= render :partial => "/shared/content_page" %> -<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>
\ No newline at end of file +<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %> diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index e6710a2..72916f3 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -83,4 +83,4 @@ <script src="http://w.sharethis.com/button/buttons.js"></script> <script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script> <% end if BlogPost::ShareThis.enabled? %> -<% end %>
\ No newline at end of file +<% end %> diff --git a/app/views/blog/shared/_categories.html.erb b/app/views/blog/shared/_categories.html.erb index 305e731..675271c 100644 --- a/app/views/blog/shared/_categories.html.erb +++ b/app/views/blog/shared/_categories.html.erb @@ -5,4 +5,4 @@ <%= link_to "#{category.title} (#{category.post_count})", blog_category_url(category) %> </li> <% end %> -</ul>
\ No newline at end of file +</ul> diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb index 7ca483a..7b243a0 100644 --- a/app/views/blog/shared/_post.html.erb +++ b/app/views/blog/shared/_post.html.erb @@ -35,4 +35,4 @@ </p> </footer> </article> -<% end %>
\ No newline at end of file +<% end %> diff --git a/app/views/blog/shared/_posts.html.erb b/app/views/blog/shared/_posts.html.erb index d686465..cbf865f 100644 --- a/app/views/blog/shared/_posts.html.erb +++ b/app/views/blog/shared/_posts.html.erb @@ -5,4 +5,4 @@ <%= link_to blog_post.title, blog_post_url(blog_post) %> </li> <% end %> -</ul>
\ No newline at end of file +</ul> diff --git a/app/views/blog/shared/_rss_feed.html.erb b/app/views/blog/shared/_rss_feed.html.erb index 65c5a2a..047298e 100644 --- a/app/views/blog/shared/_rss_feed.html.erb +++ b/app/views/blog/shared/_rss_feed.html.erb @@ -1,2 +1,2 @@ <h2><%= t('.title') %></h2> -<%= link_to "Subscribe", blog_rss_feed_url, :id => "rss_feed_subscribe"%>
\ No newline at end of file +<%= link_to "Subscribe", blog_rss_feed_url, :id => "rss_feed_subscribe"%> |