tkh_content 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.4.3
6
+
7
+ * Turned off browser autocomplete for pages form parent page field
8
+ * Changed neutral links in tab admin menus
9
+ * Added the dropin class schedule partial to the happy DSL
10
+ * Removed label from pending comments view. The span tag wouldn't wrap
11
+
12
+
5
13
  ## 0.4.2
6
14
 
7
15
  * In the admin section of the pages' sidebar, added links to admin panel and to the unmoderated comments when any
@@ -1,6 +1,8 @@
1
1
  module PagesHelper
2
2
  def tkhed(content)
3
3
  content = content.gsub /\(-: contact_us_form :-\)/, render('contacts/form') if content.match(/\(-: contact_us_form :-\)/)
4
+ # from what will be the tkh_yoga_center_gem
5
+ content = content.gsub /\(-: dropin_class_schedule :-\)/, render('dropin_classes/schedule') if content.match(/\(-: dropin_class_schedule :-\)/)
4
6
  content
5
7
  end
6
8
  end
@@ -4,5 +4,5 @@
4
4
  <%= content_tag :li, link_to(t('comments.status.accepted'), accepted_comments_path), ({ class: 'active' } if controller.action_name.to_s == 'accepted' ) %>
5
5
  <%= content_tag :li, link_to(t('comments.status.blocked'), blocked_comments_path), ({ class: 'active' } if controller.action_name.to_s == 'blocked' ) %>
6
6
  <%= content_tag :li, link_to(t('view'), comments_path), ({ class: 'active' }) if controller.action_name.to_s == 'show' %>
7
- <%= content_tag :li, link_to(t('edit'), comments_path), ({ class: 'active' }) if controller.action_name.to_s == 'edit' %>
7
+ <%= content_tag :li, link_to(t('edit'), '#'), ({ class: 'active' }) if controller.action_name.to_s == 'edit' %>
8
8
  </ul>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <%= render 'tab_admin_menu' %>
4
4
 
5
- <p><span class="label label-info"><%= t('comments.sorted_by_oldest') %></span></p>
5
+ <p><%= t('comments.sorted_by_oldest') %></p>
6
6
 
7
7
  <table class='table table-striped'>
8
8
  <thead>
@@ -11,6 +11,7 @@
11
11
  :wrapper_html => { :id => 'parent-page-title' },
12
12
  label: t('activerecord.attributes.pages.parent_title'),
13
13
  :input_html => {
14
+ :autocomplete => 'off',
14
15
  :data => { provide: 'typeahead',
15
16
  source: Page.not_for_blog.by_title.map(&:title).to_json }
16
17
  } %>
@@ -1,5 +1,5 @@
1
1
  <ul class="nav nav-tabs" id="admin-menu-tab">
2
2
  <%= content_tag :li, link_to(t('new'), new_page_path), ({ class: 'active' } if controller.action_name.to_s == 'new' ) %>
3
3
  <%= content_tag :li, link_to(t('list'), pages_path), ({ class: 'active' } if controller.action_name.to_s == 'index' ) %>
4
- <%= content_tag :li, link_to(t('edit'), pages_path), ({ class: 'active' }) if controller.action_name.to_s == 'edit' %>
4
+ <%= content_tag :li, link_to(t('edit'), '#'), ({ class: 'active' }) if controller.action_name.to_s == 'edit' %>
5
5
  </ul>
@@ -1,3 +1,3 @@
1
1
  module TkhContent
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-03 00:00:00.000000000 Z
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -276,7 +276,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
276
276
  version: '0'
277
277
  segments:
278
278
  - 0
279
- hash: 2182247311172755603
279
+ hash: 3821673667812917569
280
280
  required_rubygems_version: !ruby/object:Gem::Requirement
281
281
  none: false
282
282
  requirements:
@@ -285,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  segments:
287
287
  - 0
288
- hash: 2182247311172755603
288
+ hash: 3821673667812917569
289
289
  requirements: []
290
290
  rubyforge_project:
291
291
  rubygems_version: 1.8.23