SEESenv/web/hgbook/templates/single_com.html
author amit@shrike.aero.iitb.ac.in
Wed, 14 Apr 2010 14:38:29 +0530
changeset 54 ce987056033c
parent 2 52d12eb31c30
permissions -rwxr-xr-x
Changed the list of chapter according to the actuall SEES course.

{% 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 %}