Skip to content

Commit 65304ec

Browse files
committed
fix
1 parent a9c789c commit 65304ec

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

_includes/home-listing-sw.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 class="h1">{{title}}</h2>
3030
<div class="col-md {% if withimages!=true %}px-3{%endif%}">
3131
{% if withimages == true %}
3232

33-
{% if item.publiccode.organisation.uri || item.publiccode.IT.riuso.codiceIPA || item.publiccode.it.riuso.codiceIPA %}
33+
{% if item.publiccode.organisation.uri or item.publiccode.IT.riuso.codiceIPA or item.publiccode.it.riuso.codiceIPA %}
3434
{% assign category = "software_reuse" %}
3535
{% assign icon = "it-software" %}
3636
{% assign fallback = "/assets/images/cover_softwareriuso.png" %}

_includes/software-listing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% assign sw_name = description.localisedName | default: software.publiccode.name %}
1010

1111
{% assign sw_url = '/' | append: active_lang | append: '/software/' | append: software.slug | downcase %}
12-
{% if software.publiccode.organisation.uri || software.publiccode.IT.riuso.codiceIPA || software.publiccode.it.riuso.codiceIPA %}
12+
{% if software.publiccode.organisation.uri or software.publiccode.IT.riuso.codiceIPA or software.publiccode.it.riuso.codiceIPA %}
1313
{% assign category = "software_reuse" %}
1414
{% assign icon = "it-software" %}
1515
{% assign fallback = "/assets/images/cover_softwareriuso.png" %}

_layouts/brand-pa.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% include linklist.html items=subnav dynamic=true %}
1414
{% endcomment %}
1515

16-
{% assign generic_sw = site.data.crawler.software | where_exp: "item", "item.publiccode.IT.riuso.codiceIPA == page.ipa || item.publiccode.it.riuso.codiceIPA == page.ipa" | nested_sort_natural: "publiccode.name" | slice: 0, 60 %}
16+
{% assign generic_sw = site.data.crawler.software | where_exp: "item", "item.publiccode.IT.riuso.codiceIPA == page.ipa or item.publiccode.it.riuso.codiceIPA == page.ipa" | nested_sort_natural: "publiccode.name" | slice: 0, 60 %}
1717

1818
{% assign root = '/' | append: active_lang %}
1919

_layouts/software-details.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ <h3 class="color-content font-serif my-2 my-md-4">
8383
{% if page.publiccode.legal.repoOwner %}
8484
<div class="col-sm">
8585
<p><span class="label">Gestito da</span>
86-
{% if page.publiccode.organisation.uri || page.publiccode.IT.riuso.codiceIPA || page.publiccode.it.riuso.codiceIPA %}
86+
{% if page.publiccode.organisation.uri or page.publiccode.IT.riuso.codiceIPA or page.publiccode.it.riuso.codiceIPA %}
8787
<a href="/{{ active_lang }}/pa/{{ page.publiccode.IT.riuso.codiceIPA | downcase }}">
88-
{{ page.publiccode.organisation.name || page.publiccode.legal.repoOwner }}
88+
{{ page.publiccode.organisation.name or page.publiccode.legal.repoOwner }}
8989
</a>
9090
{% else %}
91-
{{ page.publiccode.organisation.name || page.publiccode.legal.repoOwner }}
91+
{{ page.publiccode.organisation.name or page.publiccode.legal.repoOwner }}
9292
{% endif %}
9393
</p>
9494
</div>
@@ -548,7 +548,7 @@ <h2>
548548
<div class="col-6 col-md">
549549
<p>
550550
<span class="label">{{ t.software.enabling_platforms }}</span>
551-
{% assign p = page.publiccode.it?.piattaforme || page.publiccode.IT.piattaforme %}
551+
{% assign p = page.publiccode.it?.piattaforme or page.publiccode.IT.piattaforme %}
552552
{% assign all_false = true %}
553553
{% for key in p %}
554554
{% if key.last == true %}
@@ -590,7 +590,7 @@ <h2>
590590
<div class="col-6 col-md">
591591
<p>
592592
<span class="label">{{ t.software.compliance }}</span>
593-
{% assign p = page.publiccode.it?.piattaforme || page.publiccode.IT.conforme %}
593+
{% assign p = page.publiccode.it?.piattaforme or page.publiccode.IT.conforme %}
594594
{% assign all_false = true %}
595595
{% for key in p %}
596596
{% if key.last == true %}
@@ -754,7 +754,7 @@ <h2> {{ t.software.interest_related_softwares }} </h2>
754754
{% assign relsw_name = relsw_description.localisedName | default: relsw.publiccode.name %}
755755
{% assign relsw_url = '/' | append: active_lang | append: '/software/' | append: relsw.slug | downcase %}
756756

757-
{% if relsw.publiccode.organisation.uri || relsw.publiccode.IT.riuso.codiceIPA || relsw.publiccode.it.riuso.codiceIPA %}
757+
{% if relsw.publiccode.organisation.uri or relsw.publiccode.IT.riuso.codiceIPA or relsw.publiccode.it.riuso.codiceIPA %}
758758
{% assign category = "software_reuse" %}
759759
{% assign icon = "it-software" %}
760760
{% assign fallback = "/assets/images/cover_softwareriuso.png" %}

0 commit comments

Comments
 (0)