beef-pages 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -1,5 +1,5 @@
1
- <tr class="level-<%= level %>" id="pages:<%= page.id %>">
2
- <td class="title"><% level.times{|i| %><span>-</span><%} %><%= link_to page.title, [:admin, page] %></td>
1
+ <tr class="level-<%= level %>" id="pages-<%= page.id %>">
2
+ <td class="title"><span class="indent"><% level.times{|i| %>-<%} %></span><%= link_to page.title, [:admin, page] %></td>
3
3
  <td><%= content_status(page) %></td>
4
4
  <td><%= page.author %></td>
5
5
  <td><%= page.editor %></td>
@@ -13,4 +13,4 @@
13
13
  <td><%= link_to 'up', move_up_admin_page_path(page), { :class => "page_up" } if current_user.admin? && !page.first_child? %><%= link_to 'down', move_down_admin_page_path(page), { :class => 'page_down' } if current_user.admin? && !page.last_child? %></td>
14
14
  <% end %>
15
15
  </tr>
16
- <%= render :partial => page.children, :locals => { :level => level+1 } %>
16
+ <%= render :partial => page.children, :locals => { :level => level + 1 } %>
@@ -1,3 +1,8 @@
1
+ <% content_for :header do %>
2
+ <%= javascript_include_tag 'lightwindow' %>
3
+ <%= stylesheet_link_tag 'lightwindow' %>
4
+ <% end -%>
5
+
1
6
  <h1><%= @page.new_record? ? 'New' : 'Editing' %> page</h1>
2
7
 
3
8
  <% form_for([:admin, @page], :html => { :id => 'has-assets-form' }) do |f| %>
data/pages.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{pages}
5
- s.version = "0.1.3"
5
+ s.version = "0.1.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Steve England"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England