OpenLayers OpenLayers

Changeset 7896

Show
Ignore:
Timestamp:
08/29/08 11:03:23 (3 months ago)
Author:
crschmidt
Message:

fixing extra links.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • project/gallery.openlayers.org/openlayers/faq/templates/question.html

    r7895 r7896  
    1212</form> 
    1313<iframe name="form_out" style="display:none"></iframe>  
    14 <p
     14<p style="margin: 20px; padding:10px; background-color:#e9eef9"
    1515  {{ question.rating.score }} out of {{ question.rating.votes }} people found the above answer helpful.  
    1616  Did you find it helpful?  
     
    1919</p>  
    2020<hr /> 
     21{% if question.qlink_set.count %} 
     22<h3>References to this FAQ</h3> 
    2123{% for link in question.qlink_set.all %} 
    22   <p>{{ link.title }} (<a href="{{ link.link }}">link</a>)<br /> 
     24  <p style="margin:10px; padding:10px; background-color: #e9eef9">{{ link.title }} (<a href="{{ link.link }}">link</a>, added {{ link.created }})<br /> 
    2325  {{ link.description }} 
    2426  </p> 
    2527{% endfor %}  
    26 <a href="#" onclick="document.forms[0].style.display='block'; this.style.display='none'">Add a link</a> 
     28{% endif %} 
     29<a href="#" onclick="document.forms[1].style.display='block'; this.style.display='none'">Add a link</a> 
    2730<form action="/add/qlink/" method="POST" style="display:none"> 
    2831<table>