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

do not show future releaeses

parent 8fc10e98
No related branches found
No related tags found
No related merge requests found
Pipeline #16058 passed with warnings
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
{% include media-in-list.html -%} {% include media-in-list.html -%}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if video.release_date and video.release_date != '' %} {% if video.release_date and video.release_date != '' and releasedate < nowunix %}
{% assign mediasize = mediasize | plus: 1 -%} {% assign mediasize = mediasize | plus: 1 -%}
{% assign m2 = max | minus: 1 -%} {% assign m2 = max | minus: 1 -%}
{% if counter > m2 -%} {% if counter > m2 -%}
......
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