dhatu 0.1.24 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0062d1f5401183ec441d6b9c1e8ee9f8f3dfc98d12a56c4b9f2de55264526574
4
- data.tar.gz: 7296b4b1ee4e9164c166ea38d339a07c8d86107152aa527e365a4183758797dd
3
+ metadata.gz: b61caa08b4a5e9f6f3272d1e7dac508637c2fa9bb4838f841170c37d92a24e90
4
+ data.tar.gz: 2e698dc5e1ab1f22f33944d75b32e16c0e461935103812c1381a27ca208c3c6c
5
5
  SHA512:
6
- metadata.gz: f443caeb5d1cb12bc0db74a25af8a2708c278d0d9537d89629c48f86500a6f173a623ae35fc01ebc914ab73fa39026e728a8688b55480f2d1340e43eb49c498c
7
- data.tar.gz: e5717a63115cb3bf926d887106ef74e66b7818c037a558a4cdd5815deb83c7b24dfbe63648214792807a221bfbdbde629b3a7b4f103f5c09bd966f00f81196de
6
+ metadata.gz: 2c7cdd79de757fe642af93110d8b51e3f44699d9611626acfca4795ba5c29459255a157c10ff28fe50d93ec1fda7a366c302a91bb3d380c9a542130d81dbfed2
7
+ data.tar.gz: 4e1877734b8ea00939622e272744850620cc6bc5e87f0ee81071fb71cfd222a05bc454aba575416efee70c91ddd78df0988b4fdafb0bdfa5f93d86a2206e150e
@@ -1,9 +1,11 @@
1
1
  <div><strong class="fs-18">Meta Tags</strong></div>
2
2
  <hr>
3
- <div class="alert alert-default">
4
- <strong>Meta Tags</strong> are html tags used in HTML and XHTML documents to provide structured metadata about a Web page. <br>
3
+ <p class="mb-10">
4
+ Hello
5
+ <strong>Meta Tags</strong> are html tags used in HTML and XHTML documents to provide structured metadata about a Web page.
5
6
  They are part of a web page's head section. Multiple Meta elements with different attributes can be used on the same page.
6
- </div>
7
+ Read more about <strong>Meta Tags</strong> <a href="https://www.wordstream.com/meta-tags" rel="nofollow noindex">HERE</a>
8
+ </p>
7
9
  <div id="div_meta_tags_action_buttons">
8
10
  <div class="row">
9
11
  <div class="col-md-6">
@@ -18,6 +18,7 @@
18
18
  <% else %>
19
19
  <% sections = page.sections.published %>
20
20
  <% end %>
21
+
21
22
  <% sections.order("priority ASC, created_at DESC").each do |section| %>
22
23
  <div class="row ml-30 mb-5">
23
24
  <span class="pull-left">
@@ -44,7 +45,12 @@
44
45
  <% end %>
45
46
  </div>
46
47
 
47
- <%= theme_button('Add a Section', 'plus', dhatu.new_section_path(page_id: page), classes: "btn btn-success btn-xs ml-30 mb-5", btn_type: "success") if @current_user.super_admin? %>
48
+ <% if page.feature %>
49
+ <%#= theme_button("Manage #{page.feature.display_name}", 'list', dhatu.new_section_path(page_id: page), classes: "btn btn-success btn-xs ml-30 mb-5", btn_type: "success") if @current_user.super_admin? %>
50
+ <p class="ml-30"> Go to <%= page.feature.display_name %> section to edit the contents on this page. </p>
51
+ <% else %>
52
+ <%= theme_button('Add a Section', 'plus', dhatu.new_section_path(page_id: page), classes: "btn btn-success btn-xs ml-30 mb-5", btn_type: "success") if @current_user.super_admin? %>
53
+ <% end %>
48
54
 
49
55
  </div>
50
56
 
@@ -1,3 +1,3 @@
1
1
  module Dhatu
2
- VERSION = '0.1.24'
2
+ VERSION = '0.1.25'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dhatu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - kpvarma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails