view gpp/templates/weblinks/base.html @ 286:72fd300685d5

For #95. You can now make posts with no text in the body if you have attachments. And now if you create a new topic with an attachment, and the POST fails (say you forgot the topic title), we will now re-attach attachments. Also fixed a bug in the smiley code that would arise if it was asked to markup an empty string.
author Brian Neal <bgneal@gmail.com>
date Sat, 23 Oct 2010 20:19:46 +0000
parents 7e8d2dda99e3
children 88b2b9cb8c1f
line wrap: on
line source
{% extends 'base.html' %}
{% load weblinks_tags %}
{% block custom_css %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/weblinks.css" />
{% block weblinks_css %}{% endblock %}
{% block weblinks_js %}{% endblock %}
{% endblock %}
{% block content %}
<h2>Web Links</h2>
{% include 'weblinks/navigation.html' %}
<div class="weblinks-content">
   {% block weblinks_content %}
   {% endblock %}
</div>
{% endblock %}