<commit_before>{% extends "allmychanges/new-base.html" %}
{% load widget_tweaks allmychanges_tags %}

{% block content %}
  <h1 class="page-header">Account settings</h1>
  <h2 class="page-subheader"><a name="notifications">Notifications</a></h2>

  <form action="." method="post" class="form form_profile">
    <table class="form__layout">
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Email:</label></td>
        <td class="form__layout__right-column">
          {{ form.email|add_class:"text-input profile-form__email-field" }}
          <p class="form__layout__right-column form__help">We will mail you when new versions will be discovered.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Digest:</label></td>
        <td class="form__layout__right-column">
          {{ form.send_digest|add_class:"text-input profile-form__digest-field" }}
          <p class="form__layout__right-column form__help">We could prepare you a digest with
release notes updates on a daily or weekly basis.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Timezone:</label></td>
        <td class="form__layout__right-column">
          {{ form.timezone|add_class:"text-input profile-form__timezone-field" }}
          <p class="form__help">Digests will be sent at 9:00 in given timezone.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Slack integration:</label></td>
        <td class="form__layout__right-column">
          {{ form.slack_url|add_class:"text-input profile-form__slack-url" }}
          <p class="form__layout__right-column form__help">Enter Slack's URL here and we'll
publish all discovered versions in that channel. Need help? Read <a href="{% url 'help' topic='slack/' %}">more about Slack</a> integration!</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">WebHook integration:</label></td>
        <td class="form__layout__right-column">
          {{ form.webhook_url|add_class:"text-input profile-form__webhook-url" }}
          <p class="form__layout__right-column form__help">Enter a webhook's URL here and we'll
POST all discovered versions there. Need help? Read <a href="{% url 'help' topic='webhooks/' %}">more about using WebHooks</a> and about format of the posted data in our documentation.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">RSS integration:</label></td>
        <td class="form__layout__right-column">
          <input type="text" class="text-input" disabled="disabled" value="{{request|site_url}}{% url 'rss-feed' feed_hash=user.rss_hash %}"/>
          <p class="form__layout__right-column form__help">Copy this URL into you favorite RSS reader.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column">
        <td class="form__layout__right-column">
          {% if from_registration %}
            <input type="hidden" name="from_registration" value="yes"/>
            <input type="submit" value="Proceed to the Digest" class="button _good _large"/>
          {% else %}
            <input type="submit" value="Save changes" class="button _good _large"/>
          {% endif %}
        </td>
      </tr>
    </table>

     {% csrf_token %}
  </form>
{% endblock content %}<commit_msg>RSS integraion's field is 'readonly' now instead of 'disabled'. Thanks to @Splurov.<commit_after>{% extends "allmychanges/new-base.html" %}
{% load widget_tweaks allmychanges_tags %}

{% block content %}
  <h1 class="page-header">Account settings</h1>
  <h2 class="page-subheader"><a name="notifications">Notifications</a></h2>

  <form action="." method="post" class="form form_profile">
    <table class="form__layout">
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Email:</label></td>
        <td class="form__layout__right-column">
          {{ form.email|add_class:"text-input profile-form__email-field" }}
          <p class="form__layout__right-column form__help">We will mail you when new versions will be discovered.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Digest:</label></td>
        <td class="form__layout__right-column">
          {{ form.send_digest|add_class:"text-input profile-form__digest-field" }}
          <p class="form__layout__right-column form__help">We could prepare you a digest with
release notes updates on a daily or weekly basis.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Timezone:</label></td>
        <td class="form__layout__right-column">
          {{ form.timezone|add_class:"text-input profile-form__timezone-field" }}
          <p class="form__help">Digests will be sent at 9:00 in given timezone.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">Slack integration:</label></td>
        <td class="form__layout__right-column">
          {{ form.slack_url|add_class:"text-input profile-form__slack-url" }}
          <p class="form__layout__right-column form__help">Enter Slack's URL here and we'll
publish all discovered versions in that channel. Need help? Read <a href="{% url 'help' topic='slack/' %}">more about Slack</a> integration!</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">WebHook integration:</label></td>
        <td class="form__layout__right-column">
          {{ form.webhook_url|add_class:"text-input profile-form__webhook-url" }}
          <p class="form__layout__right-column form__help">Enter a webhook's URL here and we'll
POST all discovered versions there. Need help? Read <a href="{% url 'help' topic='webhooks/' %}">more about using WebHooks</a> and about format of the posted data in our documentation.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column"><label class="label">RSS integration:</label></td>
        <td class="form__layout__right-column">
          <input type="text" class="text-input" readonly="readonly" value="{{request|site_url}}{% url 'rss-feed' feed_hash=user.rss_hash %}"/>
          <p class="form__layout__right-column form__help">Copy this URL into you favorite RSS reader.</p>
        </td>
      </tr>
      <tr class="form__layout__row">
        <td class="form__layout__left-column">
        <td class="form__layout__right-column">
          {% if from_registration %}
            <input type="hidden" name="from_registration" value="yes"/>
            <input type="submit" value="Proceed to the Digest" class="button _good _large"/>
          {% else %}
            <input type="submit" value="Save changes" class="button _good _large"/>
          {% endif %}
        </td>
      </tr>
    </table>

     {% csrf_token %}
  </form>
{% endblock content %}
{'fraction_non_alphanumeric': 0.1505551042512862, 'fraction_numerical': 0.0018954779312212293, 'mean_word_length': 3.3970238095238097, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3952670', 'n_tokens_mistral': 2251, 'n_tokens_neox': 2182, 'n_words': 503}