Skip to content

Commit

Permalink
Poprawka uppercase litera pokoju przy liscie wygloszonych prelekcji/w…
Browse files Browse the repository at this point in the history
…arsztatow w widoku autora, ukrycie liczb zorganizowanych wydarzen do czasu ustalenia faktycznych liczb, wizualne oddzielenie minionych wystąpień od tych, co będą.
  • Loading branch information
wprzyb committed Jul 17, 2024
1 parent 9ea8d52 commit cee5d47
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions _layouts/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="archive__subtitle">Wystąpienia:</h2>

<div class="project-category-grid">
{% for post in posts %}
<div class="project-item project-item-half">
<div class="project-item project-item-half {% unless post.starttime contains site.current_year %}previous_years_talks{% endunless %}">
{% if post.header.overlay_image %}
<img src="{{ post.header.overlay_image | relative_url }}" alt="{{ post.title }}" class="project-image">
{% endif %}
Expand All @@ -62,7 +62,7 @@ <h2 class="archive__subtitle">Wystąpienia:</h2>
{% endif %}</a>
{% endfor %}
</span>
Kiedy: {{ post.starttime }} sala {{post.room}}.
Kiedy: {{ post.starttime }} sala {{post.room | upcase}}.
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _pages/autorzy.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ <h2 class="archive__item-title"><a href="/authors/{{ f[0] }}" >{{ display_name }
{%assign tcount = talk_count | strip%}
<ul class="merits">
{% if f[1].orga_years contains site.current_year %}<li class="current_orga">Organizator tegorocznego Zjazdu.</li>{%endif%}
{% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%}
<!-- {% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%} -->
{% unless pcount == "0" %}<li class="puk_projects">Projektów w konkursie PUK: {{ project_count }}</li>{% endunless %}
{% unless tcount == "0" %}<li class="speaker_count">Wystąpień na Zjeździe jako prelegent: {{ talk_count }}</li>{% endunless %}
<li class="find_out_more"><a href="/authors/{{ f[0] }}" >Czytaj więcej</a></li>
Expand Down
4 changes: 2 additions & 2 deletions _pages/ekipa.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ <h2 class="archive__item-title">{{ display_name }}
{%assign tcount = talk_count | strip%}
<ul class="merits">
{% if f[1].orga_years contains site.current_year %}<li class="current_orga">Organizator tegorocznego Zjazdu.</li>{%endif%}
{% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%}
<!-- {% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%} -->
{% unless pcount == "0" %}<li class="puk_projects">Projektów w konkursie PUK: {{ project_count }}</li>{% endunless %}
{% unless tcount == "0" %}<li class="speaker_count">Wystąpień na Zjeździe jako prelegent: {{ talk_count }}</li>{% endunless %}
<li class="find_out_more"><a href="/authors/{{ f[0] }}" >Czytaj więcej</a></li>
Expand Down
4 changes: 2 additions & 2 deletions _pages/konstruktorzy.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ <h2 class="archive__item-title">{{ display_name }}
{%assign tcount = talk_count | strip%}
<ul class="merits">
{% if f[1].orga_years contains site.current_year %}<li class="current_orga">Organizator tegorocznego Zjazdu.</li>{%endif%}
{% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%}
<!-- {% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%} -->
{% unless pcount == "0" %}<li class="puk_projects">Projektów w konkursie PUK: {{ project_count }}</li>{% endunless %}
{% unless tcount == "0" %}<li class="speaker_count">Wystąpień na Zjeździe jako prelegent: {{ talk_count }}</li>{% endunless %}
<li class="find_out_more"><a href="/authors/{{ f[0] }}" >Czytaj więcej</a></li>
Expand Down
4 changes: 2 additions & 2 deletions _pages/prelegenci.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ <h2 class="archive__item-title">{{ display_name }}
{%assign tcount = talk_count | strip%}
<ul class="merits">
{% if f[1].orga_years contains site.current_year %}<li class="current_orga">Organizator tegorocznego Zjazdu.</li>{%endif%}
{% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%}
<!-- {% if f[1].qrp_years %}<li class="previous_orga"> Organizator {{ f[1].qrp_years.size }} edycji Warsztatów QRP.</li>{%endif%}
{% if f[1].orga_years %}<li class="previous_orga"> Organizator {{ f[1].orga_years.size }} edycji zjazdów.</li>{%endif%} -->
{% unless pcount == "0" %}<li class="puk_projects">Projektów w konkursie PUK: {{ project_count }}</li>{% endunless %}
{% unless tcount == "0" %}<li class="speaker_count">Wystąpień na Zjeździe jako prelegent: {{ talk_count }}</li>{% endunless %}
<li class="find_out_more"><a href="/authors/{{ f[0] }}" >Czytaj więcej</a></li>
Expand Down
5 changes: 4 additions & 1 deletion _sass/minimal-mistakes/_authors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@
.merits {
@include compact-list;
}


.previous_years_talks {
opacity: 0.7;
}

0 comments on commit cee5d47

Please sign in to comment.