appscms-tools-theme 1.1.1 → 1.1.2

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: 1914b664e9ac7f96b4700c99e2171e9a949504d48fe96ab29e05fba1f61d0318
4
- data.tar.gz: ab1bdcf0ec8b19f74eff12f411df1362104648b57c102f0e85ef09da7e264388
3
+ metadata.gz: aabb9261c246427ebebaaefa653845b94890e6c32e2aae0354bce551722efcb3
4
+ data.tar.gz: a2e4fefe49c3567cc3fc13fb5f8ce0c2740a8fba125e31309e0e02646c1394b7
5
5
  SHA512:
6
- metadata.gz: c4a6d390af62cbe4bf8855b6e4179010be1b4fb1ba429613ac2e794eda9f1e25781ca93071f620fd5a16e2b500d0efd2a140aae00a20786ec274106ad0dd128f
7
- data.tar.gz: f4dd0d5c1d4fb8d83f25cbcf60568d66d877a5470eea9e0b17cf1a39fc0e84bb2efeb73f26aa650256e7b3b4e1f7bcb5aaf53bf5ec35d5004089918840e6aa23
6
+ metadata.gz: d42a415b964eb680332365ffa72fcbf2b5ed63399eabbcaaa7c42774151a15ef28bfb100a225b2e43aa069472296c0d1193ea7df741e21d2a247260444c1f3cd
7
+ data.tar.gz: 79c05944ac258c7e21c23f1c29fe28f855caf1b1df3143ed6829f61a7fb52a97040c1fb9a358a0a5422115190a8e626ce3fe467cb17ff815c7bc0e021791af59
@@ -9,6 +9,8 @@
9
9
  "keywords": "key1,key2,key3,key4",
10
10
  "LABEL": "DOCX to PDF",
11
11
  "nofileupload": true,
12
+ "rate": "Rate this tool",
13
+ "votes": "votes",
12
14
  "variant": "info",
13
15
  "BREADCRUMB_LABEL": "DOCX TO PDF",
14
16
  "color": "purple",
@@ -1,9 +1,13 @@
1
1
  {%- if page.tool -%}
2
2
  {%- assign tool = page.tool -%}
3
3
  {%- assign data = site.data.rating.rating.tools -%}
4
+ {% assign file = page.fileName %}
5
+ {% assign lang = page.lang %}
6
+ {% assign folder = page.folderName %}
7
+ {% assign Data= site.data[folder][lang][file] %}
4
8
  <div class="rating-tool">
5
9
  <img id="rating-img" loading='lazy' src="/assets/images/rating.png" alt="rating-img">
6
- <div class="rating-text">Rate this tool</div>
10
+ <div class="rating-text">{{Data.rate | default: 'Rate this tool' }}</div>
7
11
  <div class="rating-stars" >
8
12
  <i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i
9
13
  ><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i
@@ -17,7 +21,7 @@
17
21
  {%- endif -%}
18
22
  {%- endfor -%}
19
23
  <span class="rating"> <strong id='rating'>{{rating}}</strong><span>/5</span> </span>
20
- &nbsp; <span class="total-ratings" id='count'>{{votes}} </span> votes
24
+ &nbsp; <span class="total-ratings" id='count'>{{votes}} </span> {{Data.votes | default: 'votes' }}
21
25
  </div>
22
26
  </div>
23
27
  <script>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-29 00:00:00.000000000 Z
11
+ date: 2021-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll