diff options
-rw-r--r-- | app/views/index/index.rhtml | 2 | ||||
-rw-r--r-- | app/views/layouts/default.rhtml | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/app/views/index/index.rhtml b/app/views/index/index.rhtml index 8b5611d41..65ba3a2e8 100644 --- a/app/views/index/index.rhtml +++ b/app/views/index/index.rhtml @@ -1,3 +1,5 @@ <p id="explanation">Make requests for information from the UK Government +<br>Find information that others requested +</p> diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 729bb6ec6..3c7d86ce7 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -6,11 +6,19 @@ <%= stylesheet_link_tag 'main' %> </head> <body> - <h1 id="header">Freedom of Information Filer and Archive <span id="beta">Beta</span></h1> + <h1 id="header"> + <% if controller.controller_name == 'index' and controller.action_name == 'index' %> + Freedom of Information Filer and Archive + <% else %> + <a href="/">Freedom of Information Filer and Archive</a> + <% end %> + <span id="beta">Beta</span> + </h1> <ul id="navigation"> - <li><a href="/">Home</a></li> <li><a href="/list">All Requests</a></li> <li><a href="/new">New Request</a></li> + <!-- <li><a href="/my">My Requests</a></li> --> + <!-- <li><a href="/about">About</a></li> --> </ul> <% if not (controller.action_name == 'signin' or controller.action_name == 'signup') %> |