aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/index.rhtml3
-rw-r--r--app/views/admin_public_body/list.rhtml4
-rw-r--r--app/views/layouts/admin.rhtml (renamed from app/views/layouts/admin_public_body.rhtml)6
3 files changed, 10 insertions, 3 deletions
diff --git a/app/views/admin/index.rhtml b/app/views/admin/index.rhtml
new file mode 100644
index 000000000..13cc52554
--- /dev/null
+++ b/app/views/admin/index.rhtml
@@ -0,0 +1,3 @@
+<!-- nothing here yet, just show navigation -->
+
+
diff --git a/app/views/admin_public_body/list.rhtml b/app/views/admin_public_body/list.rhtml
index ec1c5c431..006ca862c 100644
--- a/app/views/admin_public_body/list.rhtml
+++ b/app/views/admin_public_body/list.rhtml
@@ -1,4 +1,4 @@
-<h1>Listing public_bodies</h1>
+<h1>Listing public bodies</h1>
<table>
<tr>
@@ -24,4 +24,4 @@
<br />
-<%= link_to 'New public_body', :action => 'new' %>
+<%= link_to 'New public body', :action => 'new' %>
diff --git a/app/views/layouts/admin_public_body.rhtml b/app/views/layouts/admin.rhtml
index 18d3caa61..947e65d33 100644
--- a/app/views/layouts/admin_public_body.rhtml
+++ b/app/views/layouts/admin.rhtml
@@ -4,11 +4,15 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <title>AdminPublicBody: <%= controller.action_name %></title>
+ <title>FOIFA admin: <%=controller.controller_name %> <%= controller.action_name %></title>
<%= stylesheet_link_tag 'scaffold' %>
</head>
<body>
+<p><b>FOIFA admin interface:</b>
+<%= link_to 'Public bodies', :controller => 'admin_public_body', :action => 'list' %>
+</p>
+
<p style="color: green"><%= flash[:notice] %></p>
<%= yield %>