Merged from source:sprint/77/suresh@2142: Created direct clickable links to AD comments and Discusses on ballot page.

- Legacy-Id: 2151
This commit is contained in:
Henrik Levkowetz 2010-03-21 01:47:16 +00:00
parent 9db7a26c70
commit 4782fc8bd9
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% endif %}
{% for pos in ballot.get_texts %}
<h2 class="ballot_ad">{{pos.ad_name|escape}}</h2>
<h2 class="ballot_ad"><a name="{{pos.ad_name|slugify}}">{{pos.ad_name|escape}}</a></h2>
{% ifequal pos.position "Discuss" %}
<p><b>Discuss ({{pos.discuss_date}})</b> <img src="/images/comment.png" width="14" height="12" alt=""/></p>

View file

@ -1,5 +1,5 @@
{% for p in positions %}
{% if p.is_old_ad %}[{%endif%}{{p.ad_name}}{% if p.is_old_ad %}]{%endif%}{% if p.has_text %}&nbsp;<img src="/images/comment.png" width="14" height="12" alt="*"/>{% endif %}<br/>
{% if p.is_old_ad %}[{%endif%}{{p.ad_name}}{% if p.is_old_ad %}]{%endif%}{% if p.has_text %}&nbsp;<a href="#{{p.ad_name|slugify}}"><img src="/images/comment.png" width="14" height="12" alt="*" border="0"/></a>{% endif %}<br/>
{% if p.old_positions %}<span class="was">(was {{p.old_positions|join:", "}})</span><br/>{%endif%}
{% empty %}
<i>none</i>