about summary refs log tree commit homepage
path: root/lib/oldweb/_sidebar_installed.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oldweb/_sidebar_installed.rhtml')
-rw-r--r--lib/oldweb/_sidebar_installed.rhtml10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/oldweb/_sidebar_installed.rhtml b/lib/oldweb/_sidebar_installed.rhtml
new file mode 100644
index 0000000..74d3bab
--- /dev/null
+++ b/lib/oldweb/_sidebar_installed.rhtml
@@ -0,0 +1,10 @@
+<h3>Documentation</h3><ul><%
+installed.each do |name, href, exists, type, _|
+  next if type == :extra %><li><%
+  if exists
+  %><a
+href="<%= href %>"><%= h name %></a><%
+  else
+  %><%= h name %><%
+  end
+end %></ul>