Skip to content

Commit

Permalink
Merge branch 'main' into issue-1259/video-publication-email-notificat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
jayaddison committed Aug 22, 2024
2 parents 866a25c + 888fb8b commit 9844048
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docker-compose.kelvin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
networks:
- emfweb

postgres_exporter:
postgres-exporter:
restart: unless-stopped
image: 'wrouesnel/postgres_exporter:v0.8.0'
environment:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
networks:
- emfweb

postgres_exporter:
postgres-exporter:
restart: unless-stopped
image: 'wrouesnel/postgres_exporter:v0.8.0'
environment:
Expand All @@ -49,7 +49,7 @@ services:
- emfweb
command: memcached -m 64

memcached_exporter:
memcached-exporter:
restart: unless-stopped
image: 'prom/memcached-exporter:v0.9.0'
depends_on:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ services:
- "2342:2342"
environment:
SETTINGS_FILE: ./config/development.cfg
FLASK_APP: dev_server.py
FLASK_ENV: development
COLORIZE_LOGS: always
PYTHONUNBUFFERED: 1
IRCCAT: fakeirccat:12345
Expand Down
11 changes: 5 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion templates/schedule/historic/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,19 @@ <h3>Video</h3>
<button class="youtube-wait-for-click-button">Continue</button>
</div>
</div>
<p>View this video <a href="{{ event.video.youtube }}">on YouTube</a>.</p>
{% endif %}
<strong>Video Hosts:</strong>
<ul>
{% if event.video.ccc %}
<li>View this video <a href="{{ event.video.ccc }}">on media.ccc.de</a>.</li>
{% endif %}
{% if event.video.archiveorg %}
<li>View this video <a href="{{ event.video.archiveorg }}">on the Internet Archive</a>.</li>
{% endif %}
{% if event.video.youtube %}
<li>View this video <a href="{{ event.video.youtube }}">on YouTube</a>.</li>
{% endif %}
</ul>
</div>
{% endif %}
{% endblock %}
10 changes: 9 additions & 1 deletion templates/schedule/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,16 @@ <h4>Video</h4>
<iframe src="{{proposal.youtube_url|replace('youtube.com/watch?v=', 'youtube.com/embed/')}}"
width="100%" height="500px" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p>View this video <a href="{{ proposal.youtube_url }}">on YouTube</a>.</p>
{% endif %}
<strong>Video Hosts:</strong>
<ul>
{% if proposal.c3voc_url %}
<li>View this video <a href="{{ proposal.c3voc_url }}">on media.ccc.de</a>.</li>
{% endif %}
{% if proposal.youtube_url %}
<li>View this video <a href="{{ proposal.youtube_url }}">on YouTube</a>.</li>
{% endif %}
</ul>
</div>
<p>&nbsp;</p>
{% endif %}
Expand Down

0 comments on commit 9844048

Please sign in to comment.