summaryrefslogtreecommitdiffstats
path: root/equations/templates/equations/equation_detail.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-07-12 00:59:01 -0400
committerbnewbold <bnewbold@manus.(none)>2007-07-12 00:59:01 -0400
commit39d2613b75160a47a93df560d51b30854249ce9d (patch)
tree49af0dc237016f068b764a5623e2d31836c2bc6e /equations/templates/equations/equation_detail.html
parente152d2f2d1e257b1ec51adb3640e350207fda77d (diff)
downloadequator-39d2613b75160a47a93df560d51b30854249ce9d.tar.gz
equator-39d2613b75160a47a93df560d51b30854249ce9d.zip
almost working again
Diffstat (limited to 'equations/templates/equations/equation_detail.html')
-rw-r--r--equations/templates/equations/equation_detail.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/equations/templates/equations/equation_detail.html b/equations/templates/equations/equation_detail.html
new file mode 100644
index 0000000..b4c3911
--- /dev/null
+++ b/equations/templates/equations/equation_detail.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+
+{% block title %}{{ object.name }}{% endblock %}
+
+{% block content %}
+<div style="width: 100px; text-align:center;">
+<img src="{{ object.get_render_url }}" style="border: none;" /></div>
+<table width="100%">
+{% if object.description %}
+ <tr><td><b>Description:</b></td><td>{{ object.description }}</td></tr>
+{% endif %}
+{% if object.variables %}
+ <tr><td><b>Variables:</b></td><td>
+ {% for variable in object.variables %}
+ <a href="{{ variable.get_absolute_url }}">{{ variable.name }}</a><br />
+ {% endfor %}
+{% endif %}
+ <tr><td><b>Raw LaTeX:</b></td><td>{{ object.latex }}</td></tr>
+{% if object.unicode %}
+ <tr><td><b>Unicode:</b></td><td>{{ object.unicode }}</td></tr>
+{% endif %}
+ <tr><td></td><td><br />
+ This equation was created on <i>{{ object.created }}</i>;
+ it was last updated on <i>{{ object.updated }}</i>. It's owner is
+ <i>{{ object.owner }}</i>.</td></tr>
+</table>
+{% endblock %}