summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-01-27 22:58:46 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-01-27 22:58:46 +0100
commitbc9a28327b5bf22d0cc218a4e852b128fd940a2b (patch)
treea532d6fa1d5c9797d076d3f44bd52223cb951be4 /templates
parent99c8cce4e0f06bf5b84c757ce2b5120d176da5d5 (diff)
Replaced "Plain text" with pygments' "Text only".
This will correctly add the layout formatting including line numbers. Added Paste.message and templates.message for error messages.
Diffstat (limited to 'templates')
-rw-r--r--templates/__init__.py1
-rw-r--r--templates/message.tmpl5
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/__init__.py b/templates/__init__.py
index 8353176..defb657 100644
--- a/templates/__init__.py
+++ b/templates/__init__.py
@@ -1,2 +1,3 @@
from paste import paste
from view import view
+from message import message
diff --git a/templates/message.tmpl b/templates/message.tmpl
new file mode 100644
index 0000000..9f69ebc
--- /dev/null
+++ b/templates/message.tmpl
@@ -0,0 +1,5 @@
+#extends templates.base
+#def content
+ <p><a href="/">New paste</a></p>
+ $text
+#end def