Skip to content
Snippets Groups Projects
Commit 8b4289d3 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

no download link for unpublished stuff

parent 52fd49aa
No related branches found
No related tags found
No related merge requests found
Pipeline #16067 passed
......@@ -75,16 +75,16 @@ layout: default
{% endif -%}
{% endfor -%}
{% endfor -%}
{% capture release_date %}{{page.release_date | date: '%s'}}{% endcapture -%}
<div class="mediaflex1" style="display: flex; margin-top: 5px; min-width: 100%; position: relative;">
<div ><img src="{{logo}}" alt="" class="gravatar"> </div>
<div style="padding-left: 20px; min-height: 50px; max-width: 65%; padding-top: 15px"> von <b>{{persons}}</b></div>
{% if page.file and page.file != ''-%}
<div style="color:000000; background-color:#eeeeee; border-radius: 10px; margin-left: 10px; padding: 5px; position: absolute; right: 0; max-width: 20%">
<a href="{{ page.file}}" style="color:000000;"><spann class="fa fa-download" aria-hidden="true"></spann> Download</a>
{% if release_date < nowunix and page.optout != true %}<a href="{{ page.file}}" style="color:000000;"><spann class="fa fa-download" aria-hidden="true"></spann> Download</a>{% endif %}
</div>
{% endif %}
</div>
{% capture release_date %}{{page.release_date | date: '%s'}}{% endcapture -%}
{% if release_date < nowunix and page.optout != true %}
{% if page.file and page.file != ''-%}
<p style="color:000000; margin-top: 10px; min-width: 100%; justify-content: center;">Schaue das Video auf</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment