diff gpp/templates/weblinks/link_detail.html @ 20:c0d0779b266f

Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 20:41:37 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/weblinks/link_detail.html	Sun Apr 19 20:41:37 2009 +0000
@@ -0,0 +1,8 @@
+{% extends 'weblinks/base.html' %}
+{% block title %}Web Links: {{ link.title }}{% endblock %}
+{% block weblinks_content %}
+<h3>Link Details: {{ link.title }}</h3>
+<dl>
+{% include 'weblinks/link.html' %}
+</dl>
+{% endblock %}