<|start_filename|>src/templates/pycontw-2022/contents/zh/about/code-of-conduct.html<|end_filename|>
{% extends 'contents/_base.html' %}

{% block title %}行為準則{% endblock title %}

{% block content %}

<section class="pill-title alt">
    <h1>行為準則</h1>
</section>

<p>PyCon Taiwan 為了提供歡樂、愉快、生氣蓬勃的環境，特訂定此行為準則。本準則適用於參與者在 PyCon Taiwan 相關實體與數位場域中的一切言行，期望所有人一起遵守，讓 PyCon Taiwan 充滿互敬與互信。</p>


<h2>三大準則</h2>

<p>PyCon Taiwan 致力於為所有人提供無騷擾的會議體驗（包含數位場域），我們不容許以任何形式騷擾任何參與者。請各位務必遵守以下三大原則：</p>

<ul>
    <li>禁止騷擾言行。</li>
    <li>彼此欣賞。</li>
    <li>體貼他人。</li>
</ul>

<p>請記住，PyCon Taiwan 不容許任何的騷擾和性別歧視、種族主義或排他性笑話。PyCon Taiwan 籌備團隊（以下簡稱「籌備團隊」）有權調整任何違反此準則的行為。</p>

<h3>禁止騷擾言行</h3>
<p>大會不容忍任何的騷擾或歧視。無分國籍、種族、語言、性別、性取向、年齡、身心狀況、信仰、職業、資歷、政治傾向、智力等，每一位參與者都應該獲得同樣的尊重。</p>

<h3>彼此欣賞</h3>
<p>每位參與者都應該抱持專業的態度與行為。Python 的使用者來自不同的專業分工、技術背景與應用領域。我們以非常多樣的方式使用並貢獻 Python 技術。任何貶低社群中其它成員的言行都是不適當的。</p>

<h3>體貼他人</h3>
<p>請勿在大會的任何場合做出任何形式的性暗示。這些場合包含但不限於演講、開放空間、社群媒體。請避免源自刻板印象的言行。會議中請把手機調為靜音，或是其它不會影響他人的模式。</p>


<h2>違反與通報</h2>

<p>籌備團隊有權調整任何違反此準則的行為。僅需根據籌備團隊的裁決，違反本行為準則者可能必須離開會場（包含數位場域）並不得要求退費。本行為準則適用於實體場地與數位場域，並經由籌備團隊認可執行。</p>

<h3>通報行為準則事件之程序</h3>
<p>如果您認為某人處於危險之中（包含他們自己造成的危險），請立即提供或替他尋求幫助。</p>
<p>如果您確實感到自己的安全受到威脅，請立即撥打 110（臺灣警察單位）以聯繫臺灣執法單位。如果您沒有行動電話，只需詢問 PyCon Taiwan 工作人員（以下簡稱「大會工作人員」）即可。</p>
<p>如果您認為有人違反本行為準則，我們鼓勵您通報。如果您不確定該事件是否違規，或是所發生場域是否在本行為準則的範疇內，我們仍然鼓勵您通報。</p>
<p>如果發生利益衝突，您可以直接聯繫任一通報應變者：</p>

<ul>
    <li>PyCon Taiwan 事件通報應變委員會</li>
    <ul>
        <li><a href="mailto:<EMAIL>" target="_blank"><EMAIL></a></li>
    </ul>

    <li><NAME>-<NAME></li>
    <ul>
        <li>PyCon APAC 2022 大會主席</li>
        <li><a href="mailto:<EMAIL>" target="_blank"><EMAIL></a></li>
    </ul>
</ul>

<h3>通報內容</h3>
<p>如果您透過電子郵件進行通報，請盡量包含以下內容：</p>
<ul>
    <li>您的聯繫方式（以便我們在需要跟進時與您取得聯繫）。</li>
    <li>事件發生的日期和時間。</li>
    <li>事件發生地點。</li>
    <li>事件是否正在發生。</li>
    <li>事件描述。</li>
    <li>被舉報人的識別資訊：姓名、外貌、身高、服裝、口音、識別徽章資訊，如公司名稱、名牌或識別證。</li>
    <li>事件發生的情境與相關情況。</li>
    <li>其他參與或目擊事件的人及其聯繫方式或描述。</li>
</ul>

<h3>保密</h3>
<p><strong>所有通報內容都將保密。</strong>當我們與被舉報人討論通報事件時，我們將盡可能匿名化通報之事件細節以保護舉報者之隱私。</p>
<p>然而，有些事件是發生在一對一的互動中，即便我們匿名化通報之事件細節，被檢舉者仍可能猜到是誰舉報他們。如果您擔心遭遇報復或人身安全，請在通報內容中註明。儘管如此，我們仍鼓勵您通報，以便我們在確保與會者安全的同時為您提供協助。在某些情況下，我們會將多個匿名通報轉譯成一種行為模式，並針對該行為採取行動。</p>
<p>在某些情況下，我們可能會需要發表公開聲明。除非收到來自所有的受害者和通報者的指示，否則所有的受害者和通報者的身份都將被保密。</p>

<h3>通報處理流程</h3>
<p>當您通報違反準則的事件後，通報應變者將根據 <strong>通報行為準則事件之程序</strong> 蒐集相關的事件資訊。</p>
<p>通報應變者收到通報後，他們將立即與大會工作人員協商討論如何處理，然而若通報事件與大會工作人員存在利益衝突（直接與大會工作人員有關），通報應變者則會與其他非利益相關方協商討論。</p>
<p>如果事件正在發生且需要立即處理，任何通報應變者都可以採取適當的行動，以確保所有相關人員的安全。視情況需要可轉交由 PyCon Taiwan 以外的合適單位（包含臺灣執法單位）處理。</p>
<p>如果事件不具急迫性，大會工作人員將開會討論通報之事件以確定應變方式。</p>

<h3>備註</h3>
<p>以上通報流程改寫自 <a href="https://github.com/python/pycon-code-of-conduct/blob/master/Attendee%20Procedure%20for%20incident%20handling.md" target="_blank">PyCon 通報行為準則事件處理流程</a>。</p>


<h2>授權 (CC BY-SA 3.0 TW)</h2>
<p>此文件採用 <a href="https://creativecommons.org/licenses/by-sa/3.0/tw/deed.zh_TW" target="_blank">姓名標示-相同方式分享 3.0 台灣</a> 授權條款。</p>
<img src="https://i.imgur.com/cVjN760.jpg =200x"></img>

<p>PyCon APAC 2022 行為準則從 2022 年 03 月 01 日起開始生效，PyCon Taiwan 保留最終解釋與調整權，如有需要我們將隨時修改此份準則，並將儘速更新與公告予您。</p>
<p>感謝。</p>

{% endblock content %}


<|start_filename|>src/templates/default/registration/login.html<|end_filename|>
{% extends 'registration/base.html' %}

{% load i18n %}

{% block title %}{% trans 'Log In' %}{% endblock title %}

{% block form_title %}{% trans 'Log In' %}{% endblock form_title %}

{% block form %}
{{ block.super }}
{% endblock form %}


<|start_filename|>src/templates/default/users/user_dashboard.html<|end_filename|>
{% extends 'dashboard_base.html' %}

{% load i18n %}


{% block dashboard_tablist %}
{% include '_includes/dashboard_tablist.html' with active='dashboard' %}
{% endblock dashboard_tablist %}


{% block main-content %}

{% if user.is_valid_speaker %}

	{% url 'talk_proposal_create' as talk_proposal_create_url %}
	{% url 'tutorial_proposal_create' as tutorial_proposal_create_url %}

	<div class="talk-proposals proposals">
    <h3 class="dashboard-header">
        <span class="header__title">{% trans 'Talk Proposals' %}</span>
        	{% if proposals_creatable %}
          <a href="{% url 'talk_proposal_create' %}" class="btn btn-primary hidden-xs" role="button">
            <i class="fa fa-plus"></i>&nbsp;{% trans 'New Talk Porposal' %}</a>
          <a href="{{ talk_proposal_create_url }}" class="btn btn-primary visible-xs-inline" role="button">
            <i class="fa fa-plus"></i></a>
          {% endif %}
    </h3>

    {% if user.talkproposal_set.exists %}
      {% include 'users/_includes/dashboard_proposal_table.html' with user=user proposals=user.talkproposal_set.all %}
    {% else %}
    	{% if proposals_creatable %}
      <p>{% blocktrans %}You haven't submitted any talk proposals. Why not <a href="{{ talk_proposal_create_url }}" class="dashboard-link">submit one now</a>?{% endblocktrans %}</p>
      {% else %}
      <p>{% blocktrans %}You haven't submitted any talk proposals.{% endblocktrans %}</p>
      {% endif %}
    {% endif %}
	</div>

  <div class="tutorial-proposals proposals">
    <h3 class="dashboard-header">
        <span class="header__title">{% trans 'Tutorial Proposals' %}</span>
        {% if proposals_creatable %}
        <a href="{% url 'tutorial_proposal_create' %}"
           class="btn btn-focus hidden-xs" role="button">
          <i class="fa fa-plus"></i>&nbsp;{% trans 'New Tutorial Porposal' %}
        </a>
        <a href="{{ tutorial_proposal_create_url }}"
           class="btn btn-focus visible-xs-inline" role="button">
           <i class="fa fa-plus"></i>
        </a>
        {% endif %}
    </h3>
    {% if user.tutorialproposal_set.exists %}
      {% include 'users/_includes/dashboard_proposal_table.html' with user=user proposals=user.tutorialproposal_set.all %}
    {% else %}
    	{% if proposals_creatable %}
      <p>{% blocktrans %}You haven't submitted any tutorial proposals. Why not <a href="{{ tutorial_proposal_create_url }}" class="dashboard-link">submit one now</a>?{% endblocktrans %}</p>
      {% else %}
      <p>{% blocktrans %}You haven't submitted any tutorial proposals.{% endblocktrans %}</p>
      {% endif %}
    {% endif %}
  </div>

  {% if user.cospeaking_info_set.exists %}
  <div class="cospeaking-proposals">
    <h3 class="dashboard-header"><span class="header-title">{% trans 'Co-Speaking Proposals' %}</span></h3>
    {# include with ... only will block csrf_token #}
    {% include 'users/_includes/dashboard_cospeaking_proposal_table.html' with speaker_infos=user.cospeaking_info_set.all %}
  </div>
  {% endif %}

{% endif %}

{% endblock main-content %}


<|start_filename|>src/templates/pycontw-2022/contents/en/about/code-of-conduct.html<|end_filename|>
{% extends 'contents/_base.html' %}

{% block title %}Code of Conduct{% endblock title %}

{% block content %}

<section class="pill-title alt">
    <h1>Code of Conduct</h1>
</section>

<p>PyCon Taiwan aims to provide a joyous, pleasant and vibrant environment for our participants. This convention applies to all the words and deeds of participants in the relevant entities and digital fields of PyCon Taiwan. It is hoped that everyone will work together to make PyCon Taiwan full of mutual respect and trust.</p>


<h2>Principles</h2>

<p>PyCon Taiwan is dedicated to providing a harassment-free conference experience for everyone. We do not tolerate harassment toward conference participants in any form.</p>

<ul>
    <li>Do not harass others.</li>
    <li>Appreciate each other.</li>
    <li>Show consideration to others.</li>
</ul>

<p>Remember that harassment and jokes that are sexist, racist, or exclusionary are not tolerated at PyCon Taiwan. PyCon Taiwan take appropriate actions to redirect behavior violating the Code of Conduct.</p>

<h3>Do not harass others</h3>
<p>PyCon Taiwan will not tolerate any form of harassment and discrimination. Each attendee should be equally respected regardless of nationality, race, language, gender, sexual orientation, age, disability, physical appearance, faith, profession, seniority, political view, or intellect.</p>

<h3>Appreciate each other</h3>
<p>Each attendee is expected to act professionally when attending Pycon Taiwan. Users of Python are diverse in their professional roles, technical backgrounds, and application areas. They contribute to the technology in many different ways, some amazingly unimaginable. Opinions or actions that undervalue other members of the community are inappropriate and will not be tolerated.</p>

<h3>Show consideration to others</h3>
<p>Sexual contents in any form are inappropriate in any conference venue, including but not limited to talks, open spaces, or social media. Words and actions originated from stereotypes are discouraged. Cell phones should be set to silent or a mode that does not annoy others in the conference rooms.</p>


<h2>Violation and Reporting</h2>

<p>Conference organizers will take appropriate actions on behaviors violating the Code of Conduct. Violators may be required to leave the conference without a refund at the sole discretion of the organizers. This Code of Conduct is applicable to both physical and online events approved by the organizers of PyCon Taiwan.</p>

<h3>Attendee Procedure For Reporting Code of Conduct Incidents</h3>
<p>If you believe someone is in danger, including from themselves, the most important thing is to find help.</p>
<p>If you feel your safety is in jeopardy, please immediately contact law enforcement in Taiwan (dialing 110 in Taiwan). Ask an organizing staff if you do not have a cell phone.</p>
<p>If you believe the Code of Conduct has been violated, please report the incident to a staff member right away. If you are unsure whether it is a violation, or whether the space where it has happened is covered by this Code of Conduct, we encourage you to still report it.</p>
<p>In the event where there is conflict of interest, you may directly contact any of the lead incident responders:</p>

<ul>
    <li>Committee of Incident Response, PyCon Taiwan</li>
    <ul>
        <li><EMAIL></li>
    </ul>

    <li><NAME></li>
    <ul>
        <li>Chairperson of PyCon APAC 2022</li>
        <li><EMAIL></li>
    </ul>
</ul>

<h3>Report Data</h3>
<p>If you make a report via email or phone, please include:</p>
<ul>
    <li>Your contact information (so we can get in touch with you if we need to follow up).</li>
    <li>Date and time of the incident.</li>
    <li>Location of the incident.</li>
    <li>Whether the incident is ongoing.</li>
    <li>Description of the incident.</li>
    <li>Identifying information of the reported person: name, physical appearance, height, clothing, voice accent, identifying badge information such as company name, ribbons, or badge number.</li>
    <li>Additional circumstances surrounding the incident.</li>
    <li>Other people involved in, or witnesses to the incident, and their contact information or description.</li>
</ul>

<h3>Confidentiality</h3>
<p><strong>All reports are confidential.</strong> When we discuss incidents with people who are reported, we will anonymize details as much as we can to protect the reporter’s privacy.</p>
<p>However, the reported person may be able to guess who made the report in certain situations, even with details anonymized. If you have concerns about retaliation or your personal safety, please note those in your report. We still encourage you to report, so that we can support you while keeping our conference attendees safe. In some cases, we can compile several anonymized reports into a pattern of behavior, and take action based on these reports.</p>
<p>In cetain cases, we may determine that a public statement needs to be made. In such cases, the identities of all victims and reporters will remain confidential unless the individuals involved instruct us otherwise.</p>

<h3>Report Handling Procedure</h3>
<p>When you make a report to an incident responder, they will gather information about the incident according to the <strong>Procedure For Incident Response.</strong></p>
<p>After an incident responder takes the report, they will immediately consult with the PyCon Taiwan staff, unless there is a conflict of interest (involved directly with one of the PyCon Taiwan / APAC staff), in which case any non-interested parties will be contacted.</p>
<p>If the incident is ongoing and needs to be immediately addressed, any lead incident responder may take appropriate action to ensure the safety of everyone involved. If the situation requires it, this may take the form of a referral to an appropriate non-PyCon agency, including the law enforcement in Taiwan.</p>
<p>If the incident is less urgent, the report will be discussed by the event staff, who will meet to determine an appropriate response.</p>

<h3>Notes</h3>
<p>This procedure has been adapted from the <a href="https://github.com/python/pycon-code-of-conduct/blob/master/Attendee%20Procedure%20for%20incident%20handling.md" target="_blank">PyCon Procedure for Incident Handling</a>.</p>


<h2>License (CC BY-SA 3.0 TW)</h2>
<p>This document is licensed under an Attribution-ShareAlike 3.0 Taiwan license.</p>
<img src="https://i.imgur.com/cVjN760.jpg =200x"></img>

<p>The Code of Conduct of PyCon APAC 2022 is effective from Mar 1st, 2022. PyCon Taiwan reserve the right to modify this announcement at any time and will announce any updates when available.</p>
<p>Thank you.</p>

{% endblock content %}


<|start_filename|>src/static/js/proposals/proposal_form.js<|end_filename|>
(function ($) {

    if ($('select#id_recording_policy').find(':selected').val() == 'True') {
        $('#div_id_live_stream_policy').hide();
        $('select#id_live_stream_policy').val('True');
    }

    $('select#id_recording_policy').change(function(e){
        if ($(this).val() == 'False') {
            $('#div_id_live_stream_policy').fadeIn();
            $('select#id_live_stream_policy').val('False');
        } else {
            $('#div_id_live_stream_policy').fadeOut();
            $('select#id_live_stream_policy').val('True');
        }
    });

    if (!$('#id_pre_recorded_policy').is(':checked')) {
        $('button.btn-primary:submit').prop('disabled', true);
    }

    $('#id_pre_recorded_policy').change(function() {
        if (this.checked) {
            $('button.btn-primary:submit').prop('disabled', false);
        } else {
            $('button.btn-primary:submit').prop('disabled', true);
        }
    });

})(jQuery);
