moved templating system to jinja
[yourule] / templates / show_ruler.tmpl
index ac20fd61088d15f88b30cedc92bcc72411845db6..d10b380cbc458a74d7a07de3d1ee047b17b9d53d 100644 (file)
@@ -3,17 +3,17 @@
 <link rel="stylesheet" type="text/css" href="/static/style.css" />
 </head>
 <p id="menu">
-<a href="/show/$other_unit_url">show in $other_unit</a>
+<a href="/show/<%= other_unit_url %>">show in <%= other_unit %></a>
 /
-#if $fromgallery
+<% if fromgallery %>
 <a href="/gallery">back to gallery</a>
-#else
-<a href="/gallery/$ruler_url">save for others</a>
-#end if
+<% else %>
+<a href="/gallery/<%= ruler_url %>">save for others</a>
+<% endif %>
 </p>
 
 <div id="rulerimg">
-<img src="/$ruler_url" alt="$ruler_url" />
+<img src="/<%= ruler_url %>" alt="<%= ruler_url %>" />
 </div>
 
 

Benjamin Mako Hill || Want to submit a patch?