Ticket #2283: 2283.diff

File 2283.diff, 4.7 KB (added by thejaswi_puthraya, 6 years ago)

git-patch against the latest checkout

  • django/contrib/comments/templates/comments/400-debug.html

    diff --git a/django/contrib/comments/templates/comments/400-debug.html b/django/contrib/comments/templates/comments/400-debug.html
    index 3c4532b..9e33f46 100644
    a b  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    2 <html lang="en">
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     3<html xmlns="http://www.w3.org/1999/xhtml">
    34<head>
    45  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    56  <title>Comment post not allowed (400)</title>
  • django/contrib/comments/templates/comments/approve.html

    diff --git a/django/contrib/comments/templates/comments/approve.html b/django/contrib/comments/templates/comments/approve.html
    index a4306a6..aa465fc 100644
    a b  
    77  <h1>{% trans "Really make this comment public?" %}</h1>
    88  <blockquote>{{ comment|linebreaks }}</blockquote>
    99  <form action="." method="post">
    10     {% if next %}<input type="hidden" name="next" value="{{ next }}" id="next" />{% endif %}
     10    {% if next %}<p><input type="hidden" name="next" value="{{ next }}" id="next" /></p>{% endif %}
    1111    <p class="submit">
    1212      <input type="submit" name="submit" value="{% trans "Approve" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a>
    1313    </p>
  • django/contrib/comments/templates/comments/base.html

    diff --git a/django/contrib/comments/templates/comments/base.html b/django/contrib/comments/templates/comments/base.html
    index 36fc66f..baf1f40 100644
    a b  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    2 <html lang="en">
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     3<html xmlns="http://www.w3.org/1999/xhtml">
    34<head>
    45  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    56  <title>{% block title %}{% endblock %}</title>
  • django/contrib/comments/templates/comments/delete.html

    diff --git a/django/contrib/comments/templates/comments/delete.html b/django/contrib/comments/templates/comments/delete.html
    index 7d73eac..51fb485 100644
    a b  
    77<h1>{% trans "Really remove this comment?" %}</h1>
    88  <blockquote>{{ comment|linebreaks }}</blockquote>
    99  <form action="." method="post">
    10     {% if next %}<input type="hidden" name="next" value="{{ next }}" id="next" />{% endif %}
     10    {% if next %}<p><input type="hidden" name="next" value="{{ next }}" id="next" /></p>{% endif %}
    1111    <p class="submit">
    1212    <input type="submit" name="submit" value="{% trans "Remove" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a>
    1313    </p>
  • django/contrib/comments/templates/comments/flag.html

    diff --git a/django/contrib/comments/templates/comments/flag.html b/django/contrib/comments/templates/comments/flag.html
    index 08dbe0b..5761f90 100644
    a b  
    77<h1>{% trans "Really flag this comment?" %}</h1>
    88  <blockquote>{{ comment|linebreaks }}</blockquote>
    99  <form action="." method="post">
    10     {% if next %}<input type="hidden" name="next" value="{{ next }}" id="next" />{% endif %}
     10    {% if next %}<p><input type="hidden" name="next" value="{{ next }}" id="next" /></p>{% endif %}
    1111    <p class="submit">
    1212    <input type="submit" name="submit" value="{% trans "Flag" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a>
    1313    </p>
  • django/contrib/comments/templates/comments/form.html

    diff --git a/django/contrib/comments/templates/comments/form.html b/django/contrib/comments/templates/comments/form.html
    index d8e2483..b60e6c8 100644
    a b  
    33  {% if next %}<input type="hidden" name="next" value="{{ next }}" />{% endif %}
    44  {% for field in form %}
    55    {% if field.is_hidden %}
    6       {{ field }}
     6      <p>{{ field }}</p>
    77    {% else %}
    88      {% if field.errors %}{{ field.errors }}{% endif %}
    99      <p
  • django/contrib/comments/templates/comments/preview.html

    diff --git a/django/contrib/comments/templates/comments/preview.html b/django/contrib/comments/templates/comments/preview.html
    index d388457..0822faa 100644
    a b  
    1818    {% endif %}
    1919    {% for field in form %}
    2020      {% if field.is_hidden %}
    21         {{ field }}
     21        <p>{{ field }}</p>
    2222      {% else %}
    2323        {% if field.errors %}{{ field.errors }}{% endif %}
    2424        <p
Back to Top