aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-13 15:52:33 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-13 15:52:33 +0000
commit653c9049335bd1604700e454ab3058a72bf13b5c (patch)
tree9127132e055a742f36dcc14bf6b1b03c91703904 /Resources
parentf07531d1361e810a63a30f2e3b26313c18b3c302 (diff)
downloadsequelpro-653c9049335bd1604700e454ab3058a72bf13b5c.tar.gz
sequelpro-653c9049335bd1604700e454ab3058a72bf13b5c.tar.bz2
sequelpro-653c9049335bd1604700e454ab3058a72bf13b5c.zip
Add support for printing a table's create syntax with syntax highlighting.
Diffstat (limited to 'Resources')
-rw-r--r--Resources/sequel-pro-table-info-print-template.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/Resources/sequel-pro-table-info-print-template.html b/Resources/sequel-pro-table-info-print-template.html
index 30198ec2..acc13ad3 100644
--- a/Resources/sequel-pro-table-info-print-template.html
+++ b/Resources/sequel-pro-table-info-print-template.html
@@ -142,8 +142,10 @@
<p><em>{{i.comments}}</em></p>
{% /if %}
+ {% if i.createSyntax > 0 %}
<h2>Create Syntax</h2>
- <pre>{{i.createSyntax}}</pre>
+ {{i.createSyntax}}
+ {% /if %}
</body>
</html>