tkh_menus 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 941aae2917a26c7e21bf7067f351f765cd048dfa
4
- data.tar.gz: 39ce32fb6d1b2b6bb6864c0dfabb634771179015
3
+ metadata.gz: 0db7ca1119b1376827cbff2ebc5416ac43fe90f7
4
+ data.tar.gz: 045d1199e94a1af84a9fd5cde78ca0581712367d
5
5
  SHA512:
6
- metadata.gz: 1dac5a7c4cd684be9f8da701d404e8d59c9c7cad6229f2ef36be067f82eb6a9d5539e1456ab7cb055bdfce3a770b5d589c1f056d63fe7e0fdecfb0fb537f3739
7
- data.tar.gz: daca6808172322c3557dfc3cc8f8a70fd29c79494f063d5b7e852ad7664f641224d75916b17df035a1efc78c65e29a26c7c68eec517a9678a8c33b84f5723752
6
+ metadata.gz: f18793e889360931de56c58bf29b42d5c895dc5cb2a128610feb630a7c7934180e089fed775638e45b4fdbe09d8d9503d239941835da07f5b8a053f64f887a39
7
+ data.tar.gz: 3bee6bd377aa9cc822a3f4377a07d7b7c65e26caad1a64368c27e61855a1322bbc674b9adf04108b96965542451b6efe66bacde715b88c6d7a092f17b6ad0574
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.4
6
+
7
+ * Changed markup in context menu page to match bootstrap 3 lists.
8
+
9
+
5
10
  ## 0.9.3
6
11
 
7
12
  * Added the admin sidebar to the menu reorder view.
@@ -2,18 +2,18 @@
2
2
  <% if @page %>
3
3
  <% if @page.has_children? %>
4
4
  <h2><%= @page.nickname %></h2>
5
- <ul>
5
+ <ul class="list-group">
6
6
  <% for page in @page.children.by_menu_position %>
7
- <%= content_tag :li, link_to(page.nickname, page) %>
7
+ <%= content_tag :li, link_to(page.nickname, page), class: 'list-group-item' %>
8
8
  <% end %>
9
9
  </ul>
10
10
  <% end %>
11
11
 
12
12
  <% if !@page.orphan? && @page.has_siblings? %>
13
13
  <h2><%= link_to @page.parent.nickname, @page.parent %></h2>
14
- <ul>
14
+ <ul class='list-group'>
15
15
  <% for page in @page.siblings.by_menu_position %>
16
- <%= content_tag :li, link_to(page.nickname, page) %>
16
+ <%= content_tag :li, link_to(page.nickname, page), class: 'list-group-item' %>
17
17
  <% end %>
18
18
  </ul>
19
19
  <% end %>
@@ -24,9 +24,9 @@
24
24
  <% if @page %>
25
25
  <% if @page.has_children? %>
26
26
  <h2><%= @page.nickname %></h2>
27
- <ul class="draggable" data-update-url="<%= sort_pages_path %>">
27
+ <ul class="draggable list-group" data-update-url="<%= sort_pages_path %>">
28
28
  <% for page in @page.children.by_menu_position %>
29
- <%= content_tag :li, page, class: 'page', id: "page_#{page.id}" do %>
29
+ <%= content_tag :li, page, class: 'page list-group-item', id: "page_#{page.id}" do %>
30
30
  <%= image_tag 'admin/drag-handle.gif', :class => 'handle silhouette' %> <%= link_to page.nickname, page -%>
31
31
  <% end -%>
32
32
  <% end %>
@@ -35,9 +35,9 @@
35
35
 
36
36
  <% if !@page.orphan? && @page.has_siblings? %>
37
37
  <h2><%= link_to @page.parent.nickname, @page.parent %></h2>
38
- <ul class="draggable" data-update-url="<%= sort_pages_path %>">
38
+ <ul class="draggable list-group" data-update-url="<%= sort_pages_path %>">
39
39
  <% for page in @page.siblings.by_menu_position %>
40
- <%= content_tag :li, page, class: 'page', id: "page_#{page.id}" do %>
40
+ <%= content_tag :li, page, class: 'page list-group-item', id: "page_#{page.id}" do %>
41
41
  <%= image_tag 'admin/drag-handle.gif', :class => 'handle silhouette' %> <%= link_to page.nickname, page -%>
42
42
  <% end -%>
43
43
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module TkhMenus
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_menus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails