tkh_content 0.10.9 → 0.10.10

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: 965063d3fe2ea6f17a635374045464955d1441a8
4
- data.tar.gz: 48e6f860b712c85a0e4d196a8f0fe5d0e502ba32
3
+ metadata.gz: cf04a67f9f1bd43918cd30c0a8f80d7513325e99
4
+ data.tar.gz: f36d232905ceda04eb904bca660f146acb75fe5d
5
5
  SHA512:
6
- metadata.gz: 4a3c35f4191198beae6fc9aabadc9c1e15d20d05843c40f4ecbf28a58e5f499b46e47c80fc55899dcbc31cfac77b63a4c5cdaeb23ec79a758ed22d8ec614a17e
7
- data.tar.gz: 5f01b9d33e8635779394b6b142c6ece55bced1d18fc275f7b89f57cfe20393742489751dff1450c33fc3634d55325858c801ba59c26111121d2918eaf1524ca1
6
+ metadata.gz: 8fbb2dbfbeadae1430277499a325acf2588f2b88663525c7b3e9501902bfb111252e72119c1cb1dd9927c1591afaa771e9b6849a53f1ec69c6d5ffd01efe65b7
7
+ data.tar.gz: 19b7936a92b256bb74f5fe8eb4c38df357bd633a3c346bd37bd1da25c2ffee2330111c74f9ac46224e7dc88ce89bf4a3bbb7af777316e0a0100782cba34f1ae5
@@ -2,6 +2,12 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.10.10
6
+
7
+ * Equalized size of all string fields in page form partial.
8
+ * Fixed query in latest posts in sidebar partial. Now showing in the right order.
9
+
10
+
5
11
  ## 0.10.9
6
12
 
7
13
  * Added sidebar partial for latest blog posts.
@@ -1,4 +1,4 @@
1
- <% blog_posts = Page.for_blog.published.by_recent.limit(3) %>
1
+ <% blog_posts = Page.for_blog.published.by_recently_published.limit(3) %>
2
2
 
3
3
  <% unless blog_posts.blank? %>
4
4
  <h2><%= local_assigns[:heading].present? ? heading : 'blog' %></h2>
@@ -3,7 +3,8 @@
3
3
 
4
4
  <%= f.input :title,
5
5
  label: t('activerecord.attributes.pages.title'),
6
- hint: t('pages.hint.title') %>
6
+ hint: t('pages.hint.title'),
7
+ input_html: { size: 45 } %>
7
8
 
8
9
  <%= f.input :for_blog,
9
10
  label: t('activerecord.attributes.pages.for_the_blog')
@@ -13,15 +14,20 @@
13
14
  label: t('tags.tag_list'),
14
15
  hint: t('tags.hint.name'),
15
16
  :wrapper_html => { :id => 'page-tag-list' },
16
- input_html: { size: 25 } %>
17
+ input_html: { size: 45 } %>
17
18
 
18
- <%= f.input :short_title, label: t('activerecord.attributes.pages.short_title'), hint: t('pages.hint.short_title'), :wrapper_html => { :id => 'page-short-title' } %>
19
+ <%= f.input :short_title,
20
+ label: t('activerecord.attributes.pages.short_title'),
21
+ hint: t('pages.hint.short_title'),
22
+ input_html: { size: 45 },
23
+ :wrapper_html => { :id => 'page-short-title' } %>
19
24
 
20
25
  <%= f.input :parent_page_title,
21
26
  as: :string,
22
27
  :wrapper_html => { :id => 'parent-page-title' },
23
28
  label: t('activerecord.attributes.pages.parent_title'),
24
29
  :input_html => {
30
+ size: 45,
25
31
  :autocomplete => 'off',
26
32
  :data => { provide: 'typeahead',
27
33
  source: Page.not_for_blog.by_title.map(&:title).to_json }
@@ -1,3 +1,3 @@
1
1
  module TkhContent
2
- VERSION = "0.10.9"
2
+ VERSION = "0.10.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.9
4
+ version: 0.10.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails