diff --git a/app/views/application/_sidebar_header.html.erb b/app/views/application/_sidebar_header.html.erb new file mode 100644 index 000000000..5413b4205 --- /dev/null +++ b/app/views/application/_sidebar_header.html.erb @@ -0,0 +1,10 @@ +
diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index 75e54f0b2..c5c26330e 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -1,9 +1,6 @@ <% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %> -
<%= t("javascripts.notes.new.intro") %>
diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index 3c4e8a4c8..084c247dc 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,4 +1,7 @@ -<%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %> +
<%= t(".introduction") %>
diff --git a/app/views/browse/timeout.html.erb b/app/views/browse/timeout.html.erb index a9f53db15..084c247dc 100644 --- a/app/views/browse/timeout.html.erb +++ b/app/views/browse/timeout.html.erb @@ -1,4 +1,7 @@ +<% set_title(t(".title")) %> + +<%= render "sidebar_header", :title => t(".title") %> +<%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>
<%= t "layouts.intro_text" %>
<%= t "layouts.hosting_partners_html", :ucl => link_to(t("layouts.partners_ucl"), "https://www.ucl.ac.uk"), diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index b6d91ca31..934b56a02 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,9 +1,6 @@ <% set_title(t(".title")) %> -