diff --git a/files/events/templates/music.html b/files/events/templates/music.html index 8876e8d41a..00805d218f 100644 --- a/files/events/templates/music.html +++ b/files/events/templates/music.html @@ -1,4 +1,4 @@ -{% if SITE_NAME != 'WPD' and not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %} +{% if not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %} {% if not song %} {% set path = "assets/media/event/music" %} {% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %} diff --git a/files/events/templates/sidebar_PCM.html b/files/events/templates/sidebar_PCM.html index bf1edfa58c..9ca7ab1349 100644 --- a/files/events/templates/sidebar_PCM.html +++ b/files/events/templates/sidebar_PCM.html @@ -19,6 +19,8 @@ + +

{% if sub %} @@ -54,3 +56,5 @@ {% include rules %} + +{% include "event/music.html" %} diff --git a/files/events/templates/sidebar_WPD.html b/files/events/templates/sidebar_WPD.html index 615e709eac..705ef99edf 100644 --- a/files/events/templates/sidebar_WPD.html +++ b/files/events/templates/sidebar_WPD.html @@ -20,6 +20,8 @@ + +

{% if sub and sub.sidebar_html %}