SEESenv/web/hgbook/templates/single_com.html~
author amit@thunder
Fri, 12 Feb 2010 01:11:21 +0530
changeset 2 52d12eb31c30
parent 0 web/hgbook/templates/single_com.html~@8083d21c0020
permissions -rwxr-xr-x
Virtual enviroment for SEES-hacks added ...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     1
{% ifequal length 1 %}
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     2
  <a class="commenttoggle" id="toggle_{{ id }}"
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     3
      onclick="return toggleComment('{{ id }}')"
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     4
      href="comments: show / hide">One comment</a>
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     5
{% else %}
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     6
  {% if length %}
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     7
    <a class="commenttoggle" id="toggle_{{ id }}"
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     8
      onclick="return toggleComment('{{ id }}')"
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     9
      href="comments: show / hide">{{ length }} comments</a>
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    10
  {% else %}
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    11
    <a class="commenttoggle" id="toggle_{{ id }}"
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    12
      onclick="return toggleComment('{{ id }}')"
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    13
      href="comments: show / hide">No comments</a>
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    14
    <div class="comment" {% if not newid %} style="display: none;" {% endif %}>
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    15
      <div class="comment_body">Be the first to comment on this paragraph!</div>
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    16
    </div>
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    17
  {% endif %}
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    18
{% endifequal %}
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    19
{% for c in query %}