add revision number for ballot input Fixes issue . commit ready for merge

- Legacy-Id: 8119
This commit is contained in:
Deng Hui 2014-07-19 15:33:37 +00:00
parent dac3efcb68
commit 02ed2e358a

View file

@ -61,12 +61,12 @@
<h2 id="{{ p.ad.plain_name|slugify }}" class="ad-ballot-comment">{% if p.old_ad %}[{% endif %}{{ p.ad.plain_name }}{% if p.old_ad %}]{% endif %}</h2>
{% if p.pos.blocking and p.discuss %}
<p><b>{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d" }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
<p><b>{{ p.pos.name }} ({{ p.discuss_time|date:"Y-m-d" }} for - {{ doc.rev }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
<pre>{{ p.discuss|wrap_text:80 }}</pre>
{% endif %}
{% if p.comment %}
<p><b>Comment ({{ p.comment_time|date:"Y-m-d" }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
<p><b>Comment ({{ p.comment_time|date:"Y-m-d" }} for - {{ doc.rev }})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>
<pre>{{ p.comment|wrap_text:80 }}</pre>
{% endif %}
{% endfor %}