aboutsummaryrefslogtreecommitdiffstats
path: root/webface/templates/model_view.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-01-11 18:26:04 -0800
committerbnewbold <bnewbold@robocracy.org>2017-01-11 18:26:37 -0800
commitecc4f3ef8a23e3d4143954fdccc5a28a83f9039f (patch)
tree0d835d82c53e04064b694adbe26e34ef4af86315 /webface/templates/model_view.html
parent640a433fa8be6c0269db148e08ccf2bfe03957ca (diff)
downloadmodelthing-ecc4f3ef8a23e3d4143954fdccc5a28a83f9039f.tar.gz
modelthing-ecc4f3ef8a23e3d4143954fdccc5a28a83f9039f.zip
basic sandbox wiki editing and creation
Diffstat (limited to 'webface/templates/model_view.html')
-rw-r--r--webface/templates/model_view.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/webface/templates/model_view.html b/webface/templates/model_view.html
index 5d307c7..6062f33 100644
--- a/webface/templates/model_view.html
+++ b/webface/templates/model_view.html
@@ -1,7 +1,13 @@
{{# partial content}}
-<h1 style="margin-bottom: 0.1em;">{{ model_name }}</h1>
+<h1 style="margin-bottom: 0.1em;">
+ <a href="/m/{{namespace}}/" style="color: black; text-decoration: none;">
+ {{ namespace }}</a>/{{ model_name }}
+</h1>
<span style="font-size: 0.9em;">
+{{# if editable }}
<a href="edit/">edit</a> -
+{{/if }}
+<a href="markdown/">markdown</a> -
<a href="raw/">modelica</a> -
<a href="repr/?format=scheme">scheme</a> -
<a href="repr/?format=javascript">javascript</a> -