projects
/
yourule
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged in jinja template move
[yourule]
/
templates
/
show_ruler.tmpl
diff --git
a/templates/show_ruler.tmpl
b/templates/show_ruler.tmpl
index ac20fd61088d15f88b30cedc92bcc72411845db6..d10b380cbc458a74d7a07de3d1ee047b17b9d53d 100644
(file)
--- a/
templates/show_ruler.tmpl
+++ b/
templates/show_ruler.tmpl
@@
-3,17
+3,17
@@
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<p id="menu">
<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>
<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">
</p>
<div id="rulerimg">
-<img src="/
$ruler_url" alt="$ruler_url
" />
+<img src="/
<%= ruler_url %>" alt="<%= ruler_url %>
" />
</div>
</div>
Benjamin Mako Hill
||
Want to submit a patch?