Simplify availability includes
This commit is contained in:
parent
3a788784b6
commit
040cc805b2
|
@ -2,8 +2,10 @@
|
|||
<h2>Availability</h2>
|
||||
|
||||
<ul class="list pa0">
|
||||
{% for key, availability in site.availability %}
|
||||
{% include 'availability/' ~ availability with { value: key } %}
|
||||
{% for type, value in site.availability %}
|
||||
<li>
|
||||
{% include 'availability/' ~ value %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
<li>
|
||||
<i class="mr1 fa fa-thumbs-o-up orange"></i>
|
||||
|
||||
{{ value == 'full' ? 'Currently have limited full-time capacity' }}
|
||||
{{ value == 'part' ? 'Currently have limited part-time capacity' }}
|
||||
</li>
|
||||
<i class="mr1 fa fa-thumbs-o-up orange"></i>
|
||||
Currently have limited {{ type }}-time capacity.
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
<li>
|
||||
<i class="mr1 fa fa-thumbs-o-down dark-red"></i>
|
||||
|
||||
{{ value == 'full' ? 'Currently no spare full-time capacity.' }}
|
||||
{{ value == 'part' ? 'Currently no spare part-time capacity.' }}
|
||||
</li>
|
||||
<i class="mr1 fa fa-thumbs-o-down dark-red"></i>
|
||||
Currently no spare {{ type }}-time capacity.
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
<li>
|
||||
<i class="mr1 fa fa-thumbs-o-up dark-green"></i>
|
||||
|
||||
{{ value == 'full' ? 'Currently have available full-time capacity' }}
|
||||
{{ value == 'part' ? 'Currently have available part-time capacity' }}
|
||||
</li>
|
||||
<i class="mr1 fa fa-thumbs-o-up dark-green"></i>
|
||||
Currently have available {{ type }}-time capacity.
|
||||
|
|
Reference in a new issue