Skip to content

Commit 7867fcd

Browse files
renzonrenzon
authored andcommitted
Removed webinar and live class redirection to another browser tab
close #3854
1 parent e7a422c commit 7867fcd

2 files changed

Lines changed: 19 additions & 22 deletions

File tree

‎pythonpro/cohorts/templates/cohorts/cohort_detail.html‎

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ <h1 class="mt-4 mb-3">Turma {{ cohort.title }}</h1>
3434
<div class="col">
3535
<h2 class="mt-5">Instruções</h2>
3636
<dt>Passo 1</dt>
37-
{# <dd>Cadastre-se na <a href="{{ cohort.mail_list }}" target="_blank">lista de emails da turma</a></dd>#}
38-
{# <dt>Passo 2</dt>#}
3937
<dd>Se apresente no <a href="{{ cohort.forum_post }}" target="_blank">post do fórum</a></dd>
4038
<dt>Passo 2</dt>
4139
<dd>Entre no nosso <a href="https://t.me/joinchat/DZ2HMhnnjVIaUZxinut1aw" target="_blank">grupo do
@@ -49,23 +47,23 @@ <h2 class="mt-5">Instruções</h2>
4947
<h2 class="mt-5 mb-4 text-center">Webinários</h2>
5048
<div class="row">
5149
{% if cohort.recorded_webinars %}
52-
<div class="col-md col-12">
53-
{% if cohort.future_webinars %}
54-
<h3 class="text-center">Já Gravados</h3>
55-
{% endif %}
56-
{% for webinar in cohort.recorded_webinars %}
57-
<h4 class="mt-4 mb-3">
58-
<a href="{{ webinar.get_absolute_url }}" target="_blank">{{ webinar.title }}</a>
59-
</h4>
60-
<img src="{{ webinar.image.url }}" class="rounded float-left mr-3"
61-
alt="Foto de {{ webinar.speaker }}"
62-
width="200px" height="200px">
63-
<blockquote class="blockquote">
64-
<p class="mb-0">{{ webinar.speaker }}</p>
65-
<footer class="blockquote-footer">{{ webinar.speaker_title }}
66-
</footer>
67-
</blockquote>
68-
<dt>
50+
<div class="col-md col-12">
51+
{% if cohort.future_webinars %}
52+
<h3 class="text-center">Já Gravados</h3>
53+
{% endif %}
54+
{% for webinar in cohort.recorded_webinars %}
55+
<h4 class="mt-4 mb-3">
56+
<a href="{{ webinar.get_absolute_url }}">{{ webinar.title }}</a>
57+
</h4>
58+
<img src="{{ webinar.image.url }}" class="rounded float-left mr-3"
59+
alt="Foto de {{ webinar.speaker }}"
60+
width="200px" height="200px">
61+
<blockquote class="blockquote">
62+
<p class="mb-0">{{ webinar.speaker }}</p>
63+
<footer class="blockquote-footer">{{ webinar.speaker_title }}
64+
</footer>
65+
</blockquote>
66+
<dt>
6967
Data:
7068
</dt>
7169
<dd>
@@ -128,7 +126,7 @@ <h2 class="mt-5 mb-3">Aulas ao Vivo</h2>
128126
{% for class in cohort.classes %}
129127
<h3 class="mt-4 mb-3">
130128
{% if class.vimeo_id %}
131-
<a href="{{ class.get_absolute_url }}" target="_blank">{{ class.start }}</a>
129+
<a href="{{ class.get_absolute_url }}">{{ class.start }}</a>
132130
{% else %}
133131
{{ class.start }}
134132
{% endif %}

‎pythonpro/cohorts/templates/cohorts/webinars.html‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ <h1 class="mt-4 mb-1">Webinários</h1>
1515

1616
{% for webinar in webinars %}
1717

18-
<h2 class="mt-4 mb-3"><a href="{{ webinar.get_absolute_url }}"
19-
target="_blank">{{ webinar.title }}</a></h2>
18+
<h2 class="mt-4 mb-3"><a href="{{ webinar.get_absolute_url }}">{{ webinar.title }}</a></h2>
2019
<img src="{{ webinar.image.url }}" class="rounded float-left mr-3"
2120
alt="Foto de {{ webinar.speaker }}"
2221
width="200px" height="200px">

0 commit comments

Comments
 (0)