view gpp/templates/forums/jump_box.html @ 492:3c48a555298d

Added a custom tag to display a link to a profile. Refactored the avatar tag to optionally display a profile link around the image. Removed the width and height attributes from the avatar image tag. I think this was causing disk hits whenever those properties were not cached. The avatar tag is now an inclusion tag.
author Brian Neal <bgneal@gmail.com>
date Sat, 22 Oct 2011 00:07:50 +0000
parents 768e3568addf
children
line wrap: on
line source
{% load url from future %}
<form action="." method="get" id="forum-jumpbox-form">
   <select id="forum-jumpbox-select">
      <option value="{% url 'forums-forum_index' slug='surfguitar101-website' %}">SurfGuitar101 Website</option>
      <option value="{% url 'forums-forum_index' slug='suggestion-box' %}">Suggestion Box</option>
      <option value="{% url 'forums-forum_index' slug='sg101-podcast' %}">SG101 Podcast</option>
      <option value="{% url 'forums-forum_index' slug='surf-music' %}">Surf Music General Discussion</option>
      <option value="{% url 'forums-forum_index' slug='gigs' %}">Show Announcements</option>
      <option value="{% url 'forums-forum_index' slug='surf-musician' %}">Surf Musician</option>
      <option value="{% url 'forums-forum_index' slug='gear' %}">Gear</option>
      <option value="{% url 'forums-forum_index' slug='recording-corner' %}">Recording Corner</option>
      <option value="{% url 'forums-forum_index' slug='surf-videos' %}">Surf Videos</option>
      <option value="{% url 'forums-forum_index' slug='best-sg101' %}">Best-Of SG101</option>
      <option value="{% url 'forums-forum_index' slug='for-sale-trade' %}">For Sale / Trade</option>
      <option value="{% url 'forums-forum_index' slug='musicians-gigs-wanted' %}">Musicians &amp; Gigs Wanted</option>
      <option value="{% url 'forums-forum_index' slug='shallow-end' %}">The Shallow End</option>
   </select>
   <button type="button" id="forum-jumpbox-button">Go</button>
</form>