web/hgbook/templates/single_com.html
author amit@thunder
Mon, 25 Jan 2010 18:56:45 +0530
changeset 0 8083d21c0020
permissions -rwxr-xr-x
The first commit of all the required files for the review app

{% ifequal length 1 %}
  <a class="commenttoggle" id="toggle_{{ id }}"
      onclick="return toggleComment('{{ id }}')"
      href="comments: show / hide">One comment</a>
{% else %}
  {% if length %}
    <a class="commenttoggle" id="toggle_{{ id }}"
      onclick="return toggleComment('{{ id }}')"
      href="comments: show / hide">{{ length }} comments</a>
  {% else %}
    <a class="commenttoggle" id="toggle_{{ id }}"
      onclick="return toggleComment('{{ id }}')"
      href="comments: show / hide">No comments</a>
    <div class="comment" {% if not newid %} style="display: none;" {% endif %}>
      <div class="comment_body">Be the first to comment on this paragraph!</div>
    </div>
  {% endif %}
{% endifequal %}