aboutsummaryrefslogtreecommitdiffstats
path: root/lib/views/help
diff options
context:
space:
mode:
Diffstat (limited to 'lib/views/help')
-rw-r--r--lib/views/help/_sidebar.rhtml21
-rw-r--r--lib/views/help/help_out.rhml9
-rw-r--r--lib/views/help/help_out.rhtml9
3 files changed, 39 insertions, 0 deletions
diff --git a/lib/views/help/_sidebar.rhtml b/lib/views/help/_sidebar.rhtml
new file mode 100644
index 0000000..92dd49a
--- /dev/null
+++ b/lib/views/help/_sidebar.rhtml
@@ -0,0 +1,21 @@
+<div id="right_column_flip">
+ <h2>Help pages</h2>
+ <ul class="no_bullets">
+ <li><%= link_to_unless_current "Introduction", "/help/about" %></li>
+ <li><%= link_to_unless_current "Making requests", "/help/requesting" %></li>
+ <li><%= link_to_unless_current "Your privacy", "/help/privacy" %></li>
+ <li><%= link_to_unless_current "FOI officers", "/help/officers" %></li>
+ <li><%= link_to_unless_current "About the software", "/help/alaveteli" %></li>
+ <li><%= link_to_unless_current "Credits", "/help/credits" %></li>
+ <li><%= link_to_unless_current "Programmers API", "/help/api" %></li>
+ <li><%= link_to_unless_current "Help us", "/help/help_out" %></li>
+ <li><%= link_to_unless_current "Advanced search", "/search" %></li>
+ </ul>
+
+ <h2 id="contact">Contact us</h2>
+ <p>If your question isn't answered here, or you just wanted to let us know
+ something about the site, <a href="/help/contact">contact&nbsp;us</a>.
+ </p>
+</div>
+
+
diff --git a/lib/views/help/help_out.rhml b/lib/views/help/help_out.rhml
new file mode 100644
index 0000000..6744a27
--- /dev/null
+++ b/lib/views/help/help_out.rhml
@@ -0,0 +1,9 @@
+<% @title = "Help out" %>
+
+<%= render :partial => 'sidebar' %>
+
+<h1>Help us!</h1>
+
+<p>This is a custom "help out" page, showing how you can add new pages to Alaveteli from a theme. There's no navigation to it, though! You'd need to add that in your own custom <code>_sidebar.rhtml</code></p>
+
+
diff --git a/lib/views/help/help_out.rhtml b/lib/views/help/help_out.rhtml
new file mode 100644
index 0000000..6fadca4
--- /dev/null
+++ b/lib/views/help/help_out.rhtml
@@ -0,0 +1,9 @@
+<% @title = "Help out" %>
+
+<%= render :partial => 'sidebar' %>
+<div id="left_column_flip">
+ <h1>Help us!</h1>
+
+ <p>This is a custom "help out" page, showing how you can add new pages to Alaveteli from within a theme.</p>
+</div>
+