adhesiones-jekyll-theme 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_data/es.yml +1 -1
  3. data/_layouts/home.html +10 -11
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 526c86c9039ea8987fdc61112ccf336ddff5cb21a6d5e131dd1c83bd52381977
4
- data.tar.gz: 8d6f12bcc90ba7573079f09286c59a80b82927fd27d4c7af3f364c6388a21044
3
+ metadata.gz: 3f3144932dcf1dfb0c9b3ca0c497bfaca4fb42d4e9e32df1849abd310d266fa6
4
+ data.tar.gz: f08b8dfb5b6b85a69ea1da4bc3d9f0a512f2d49b61815198738d93d7254862df
5
5
  SHA512:
6
- metadata.gz: f183d224fe65edb25a6a0354dd4d3b3947cb65875b9214d9ed349f529566b4d54116f1e8b6ab32afbf04b763db31bab1f8a8328825bf45a6859b5b153ae15d1b
7
- data.tar.gz: 2f7e9c0959469cdeb60298504d2284576aaf8b890ce0c2db1bee2ebd4929cb9f416882dfd7d378c642039c0d098377928485e76f5b2768910ec3067268a14a23
6
+ metadata.gz: ed4b7c4f54ebeda43841c26718a1808704a6044d854cae69b1cfaac87cd3faf3f0e5cb43f57d3e7ecb9729c3da00fddb57c983b8fcd61b83811368b53cd0b445
7
+ data.tar.gz: 7a1c0f172bc757ae748e09322920a7e30b52763b0812e76c4b9fdf38921b83e42c0ad50c2a5ae93240f5e23900d19dee05792e402558b6e9af595915cf8eb3ba
data/_data/es.yml CHANGED
@@ -94,7 +94,7 @@ home:
94
94
  adhesion: Adherir como organización
95
95
  adhesion_individual: Adherir como individue
96
96
  submit_help: "Para prevenir el spam, por favor espera <span data-seconds>30</span> segundos antes de enviar."
97
- adhesiones: Adhesiones de organizaciones
97
+ adhesiones: Adhesiones
98
98
  metric: firmas
99
99
  share_post:
100
100
  text: Compartir adhesión
data/_layouts/home.html CHANGED
@@ -91,8 +91,11 @@ layout: default
91
91
  {%- endfor -%}
92
92
 
93
93
  <div class="col-12">
94
- <input type="submit" value="{{ site.i18n.home.form.submit }}" class="btn btn-success btn-block" />
94
+ <input
95
+ data-target="contact.submit"
96
+ type="submit" value="{{ site.i18n.home.form.submit }}" class="btn btn-success btn-block" />
95
97
  <small
98
+ data-target="contact.help"
96
99
  class="form-text text-muted">
97
100
  {{ site.i18n.home.form.submit_help }}
98
101
  </small>
@@ -133,8 +136,10 @@ layout: default
133
136
  </section>
134
137
 
135
138
  {%- assign adhesiones = site.posts | where: 'layout', 'adhesion' -%}
136
- {%- assign adhesiones_individuales = site.posts | where: 'layout', 'adhesion_individual' | size -%}
137
- {%- assign total = adhesiones | size | plus: adhesiones_individuales -%}
139
+ {%- assign adhesiones_individuales = site.posts | where: 'layout', 'adhesion_individual' -%}
140
+ {%- assign total = adhesiones_individuales | size %}
141
+ {%- assign total = adhesiones | size | plus: total -%}
142
+ {%- assign adhesiones_individuales = adhesiones_individuales | where: 'public', true | where: 'draft', false -%}
138
143
 
139
144
  <section class="mt-5" id="adhesiones">
140
145
  <header class="row align-items-center justify-content-between">
@@ -158,17 +163,11 @@ layout: default
158
163
  </div>
159
164
  </header>
160
165
 
161
- {%- for adhesion in adhesiones -%}
166
+ {%- for adhesion in adhesiones_individuales -%}
162
167
  <article id="{{ adhesion.uuid }}" class="callout">
163
168
  <header >
164
169
  <h5>
165
- {%- if adhesion.web -%}
166
- <a href="{{ adhesion.web }}" target="_blank">
167
- {{ adhesion.title }}
168
- </a>
169
- {%- else -%}
170
- {{ adhesion.title }}
171
- {%- endif -%}
170
+ {{ adhesion.name }}
172
171
  </h5>
173
172
 
174
173
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adhesiones-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - f