Mercurial > public > sg101
annotate gpp/templates/weblinks/link.html @ 197:2baadae33f2e
Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 10 Apr 2010 04:32:24 +0000 |
parents | 6a5549c2efb5 |
children | 0e7c7231dea9 |
rev | line source |
---|---|
gremmie@1 | 1 <dt> |
bgneal@165 | 2 <h4>{{ link.title }}</h4> |
gremmie@1 | 3 </dt> |
gremmie@1 | 4 <dd> |
gremmie@1 | 5 <p>{{ link.description }}</p> |
bgneal@194 | 6 <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %} |
gremmie@1 | 7 <table class="link-stats"> |
gremmie@1 | 8 <tr> |
bgneal@165 | 9 <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td> |
gremmie@1 | 10 <th>Hits:</th><td>{{ link.hits }}</td> |
bgneal@3 | 11 <td> |
bgneal@165 | 12 <a href="#" class="weblinks-broken" id="link-{{ link.id }}"><img src="{{ MEDIA_URL }}icons/link_break.png" alt="Broken Link" title="Report this link as broken" /></a> |
bgneal@3 | 13 </td> |
gremmie@1 | 14 </tr> |
bgneal@165 | 15 <tr><td><input type="submit" value="Visit Site" /></td></tr> |
gremmie@1 | 16 </table> |
bgneal@165 | 17 </form> |
gremmie@1 | 18 <br /> |
gremmie@1 | 19 </dd> |