diff --git a/_jekyll/_includes/compare_translations b/_jekyll/_includes/compare_translations index 21904e244..09bcb3756 100644 --- a/_jekyll/_includes/compare_translations +++ b/_jekyll/_includes/compare_translations @@ -42,7 +42,8 @@ {%- endif -%} {% for please_update in lang_page %} - {% if please_update.last_modified_at | date '%Y-%m-%-d' < post_modified" | date '%Y-%m-%-d' -%} + {%- assign translation_date = please_update.last_modified_at | date: "%Y-%m-%d" -%} + {% if translation_date < post_modified -%} {% if label == 'posts' %} {%- assign permalink = please_update.url -%} {%- assign post_permalink = post.url -%} @@ -54,12 +55,12 @@ {%- assign modified_at = please_update.last_modified_at -%} {%- assign post_modified_at = post.last_modified_at -%} {% endif %} - {%- endif -%}
  • {{ post_modified_at | date: "%Y-%m-%-d" }} {{ post.title }}
    {{ modified_at | date: "%Y-%m-%-d" }} {{ please_update.title }}
    Edit translation
  • + {%- endif -%} {% endfor %} {%- endfor -%} diff --git a/_jekyll/_includes/outdated b/_jekyll/_includes/outdated index 65f81f850..82a9f4071 100644 --- a/_jekyll/_includes/outdated +++ b/_jekyll/_includes/outdated @@ -20,8 +20,12 @@ {%- if en_page_exists == false -%}

    This page is outdated. For more recent information have a look at the english section.

    - {%- else en_page.first.last_modified_at | date: "%Y-%m-%d > page.last_modified_at | date: "%Y-%m-%d -%} + {%- else -%} + {%- assign en_date = en_page.first.last_modified_at | date: "%Y-%m-%d" -%} + {%- assign page_date = page.last_modified_at | date: "%Y-%m-%d" -%} + {%- if en_date > page_date -%}

    This page is outdated. For more recent information have a look at the english original.

    + {%- endif -%} {%- endif -%} {%- endunless -%} {%- endif -%} diff --git a/assets/images/docs/tartan-fill.svg b/assets/images/docs/tartan-fill.svg index 710344641..61d27dbc8 100644 --- a/assets/images/docs/tartan-fill.svg +++ b/assets/images/docs/tartan-fill.svg @@ -27,60 +27,43 @@ inkscape:deskcolor="#d1d1d1" inkscape:document-units="mm" showgrid="true" - inkscape:zoom="0.84537529" - inkscape:cx="308.14717" - inkscape:cy="114.15049" + inkscape:zoom="1.5519126" + inkscape:cx="153.03697" + inkscape:cy="144.66021" inkscape:window-width="1920" inkscape:window-height="1011" inkscape:window-x="0" inkscape:window-y="32" inkscape:window-maximized="1" - inkscape:current-layer="g2" + inkscape:current-layer="layer1" showguides="true"> - + transform="translate(-45.4999, 83.4192)"> + - + id="g1" + inkscape:label="Satin border"> + +