<commit_before>{% set body_class = "makebackground" %}
{% extends "includes/base.html" %}
{% block head %}
  <script>
    function updatePledges(total_cents, total_pledges) {
      $("#total_dollars").text("$" + (total_cents/100));
      $("#total_pledges").text("" + total_pledges);
      $("#total_dollars_text").text("pledged");
      if (total_pledges == 1) {
        $("#total_pledges_text").text("backer");
      } else {
        $("#total_pledges_text").text("backers");
      }
    }
    $(function() {
      var reload = function() {
        $.ajax({
          dataType: "jsonp",
          // TODO: we're doing a crazy thing where we pass multiple arguments
          // back via jsonp, and jquery doesn't know how to handle it. once
          // the pledge service has a better endpoint we'll use it.
          callback: "ignored_callback",
          url: "https://pledge.mayone.us/total?team={{team.key()}}&callback=updatePledges"
        });
      };
      reload();
      setInterval(reload, 15000);
    });
  </script>
{% endblock %}
{% block body %}
  <div class="page-header">
    <div class="col-md-8">
      <h1>{{team.title}}'s <span class="apostrophe-pp">pledge page</span></h1>
    </div>
    <div style="text-align:right;" class="col-md-4">
      {% if edit_url %}<commit_msg>wordfix<commit_after>{% set body_class = "makebackground" %}
{% extends "includes/base.html" %}
{% block head %}
  <script>
    function updatePledges(total_cents, total_pledges) {
      $("#total_dollars").text("$" + (total_cents/100));
      $("#total_pledges").text("" + total_pledges);
      $("#total_dollars_text").text("pledged");
      if (total_pledges == 1) {
        $("#total_pledges_text").text("pledger through this page");
      } else {
        $("#total_pledges_text").text("pledgers through this page");
      }
    }
    $(function() {
      var reload = function() {
        $.ajax({
          dataType: "jsonp",
          // TODO: we're doing a crazy thing where we pass multiple arguments
          // back via jsonp, and jquery doesn't know how to handle it. once
          // the pledge service has a better endpoint we'll use it.
          callback: "ignored_callback",
          url: "https://pledge.mayone.us/total?team={{team.key()}}&callback=updatePledges"
        });
      };
      reload();
      setInterval(reload, 15000);
    });
  </script>
{% endblock %}
{% block body %}
  <div class="page-header">
    <div class="col-md-8">
      <h1>{{team.title}}'s <span class="apostrophe-pp">pledge page</span></h1>
    </div>
    <div style="text-align:right;" class="col-md-4">
      {% if edit_url %}
{'fraction_non_alphanumeric': 0.1796042617960426, 'fraction_numerical': 0.00989345509893455, 'mean_word_length': 2.7185289957567185, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, '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': '1275211', 'n_tokens_mistral': 884, 'n_tokens_neox': 831, 'n_words': 182}