From 4bd2c48f7f1f75d71b3eaed73e3893a2b42b0fee Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Mon, 4 Apr 2016 14:59:27 +0100 Subject: Make code customization commented out examples. Rather than having them be live code. --- lib/views/general/mycontroller.html.erb | 7 ------- lib/views/help/about.es.html.erb | 8 -------- lib/views/help/help_out.html.erb | 9 --------- lib/views/outgoing_mailer/initial_request.text.erb | 15 --------------- 4 files changed, 39 deletions(-) delete mode 100644 lib/views/general/mycontroller.html.erb delete mode 100644 lib/views/help/about.es.html.erb delete mode 100644 lib/views/help/help_out.html.erb delete mode 100644 lib/views/outgoing_mailer/initial_request.text.erb (limited to 'lib/views') diff --git a/lib/views/general/mycontroller.html.erb b/lib/views/general/mycontroller.html.erb deleted file mode 100644 index ad642d3..0000000 --- a/lib/views/general/mycontroller.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<% @title = "My new controller" %> - -

My new controller

- -

This is a view of a controller that does almost nothing, except output the words <%= @say_something %>

- - diff --git a/lib/views/help/about.es.html.erb b/lib/views/help/about.es.html.erb deleted file mode 100644 index 9588249..0000000 --- a/lib/views/help/about.es.html.erb +++ /dev/null @@ -1,8 +0,0 @@ -<% @title = "Sobre" %> -<%#-*- coding: utf8 -*-%> -<%= render :partial => 'sidebar' %> - -
-

¡Bonjiorno amis!

-

Esta sito tu aidare a faire los requestio

-
diff --git a/lib/views/help/help_out.html.erb b/lib/views/help/help_out.html.erb deleted file mode 100644 index 6fadca4..0000000 --- a/lib/views/help/help_out.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% @title = "Help out" %> - -<%= render :partial => 'sidebar' %> -
-

Help us!

- -

This is a custom "help out" page, showing how you can add new pages to Alaveteli from within a theme.

-
- diff --git a/lib/views/outgoing_mailer/initial_request.text.erb b/lib/views/outgoing_mailer/initial_request.text.erb deleted file mode 100644 index f7878ac..0000000 --- a/lib/views/outgoing_mailer/initial_request.text.erb +++ /dev/null @@ -1,15 +0,0 @@ -<%= raw @outgoing_message.body.strip %> - -------------------------------------------------------------------- - -<%= _('This is an FOI request done via the {{site_name}} website. This footer has been overriden by the sample Alaveteli theme.', :site_name => site_name) %> - -<%= _('Please use this email address for all replies to this request:')%> -<%= @info_request.incoming_email %> - -<%= _('Is {{email_address}} the wrong address for {{type_of_request}} requests to {{public_body_name}}? If so, please contact us using this form:', :email_address => @info_request.public_body.request_email, :type_of_request => @info_request.law_used_human(:full), :public_body_name => @info_request.public_body.name)%> -<%= new_change_request_url(:body => @info_request.public_body.url_name) %> - -<%= render :partial => 'followup_footer' %> - -------------------------------------------------------------------- -- cgit v1.2.3