summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-02-06 15:23:31 +0100
committerHarald Eilertsen <haraldei@anduin.net>2016-02-06 15:23:31 +0100
commit09f53649ce6a1ed6449047b37651b9d7d9d412d7 (patch)
tree0daa9202257a4bcf127c9964e04c89af6f897811
parent5354b4b28c0826f7ab47c7f79d7bceb7e0d07957 (diff)
downloadnorsk-urskog-registrations-09f53649ce6a1ed6449047b37651b9d7d9d412d7.tar.gz
norsk-urskog-registrations-09f53649ce6a1ed6449047b37651b9d7d9d412d7.tar.bz2
norsk-urskog-registrations-09f53649ce6a1ed6449047b37651b9d7d9d412d7.zip
Close registrations for 2016
-rw-r--r--registration.rb7
-rw-r--r--views/registration_closed.erb12
2 files changed, 16 insertions, 3 deletions
diff --git a/registration.rb b/registration.rb
index e627a33..ecf8321 100644
--- a/registration.rb
+++ b/registration.rb
@@ -14,9 +14,10 @@ class RegistrationApp < Sinatra::Base
config_file File.join(settings.root, 'config.yml')
get '/' do
- @band = Band.new
- 3.times { @band.songs << Song.new }
- erb :index
+ erb :registration_closed
+ #@band = Band.new
+ #3.times { @band.songs << Song.new }
+ #erb :index
end
post '/submit' do
diff --git a/views/registration_closed.erb b/views/registration_closed.erb
new file mode 100644
index 0000000..2005d2b
--- /dev/null
+++ b/views/registration_closed.erb
@@ -0,0 +1,12 @@
+<section lang="nb_NO">
+ <h1>Registreringen er stengt</h1>
+ <p>Registrering til Norsk Urskog 2016 er nå stengt. Vi takker alle som har meldt seg på, og håper vi see på konsertene eller i løpet av Inferno! Dersom du har lyst å bli med på neste utgave av Norsk Urskog Metal Sampler, så følg med når vi åpner registrering for neste utgave igjen.</p>
+ <p>Vennlig hilsen,<br><strong>Norsk Urskog-gjengen</strong></p>
+ <p><a href="/">Tilbake til Norsk Urskog.</a></p>
+</section>
+<section land="en_GB">
+ <h1>Registrations are closed</h1>
+ <p>The registrations for Norsk Urskog Metal Sampler 2016 are now closed. A big thank you to everybody that has signed up for this release, and hope to see you around on the concerts or at Inferno! If you would like to register for the next release of Norsk Urskog, you'll have to wait until we open the registrations again.</p>
+ <p>Best regards,<br><strong>The Norsk Urskog Team</strong></p>
+ <p><a href="/">Back to Norsk Urskog.</a></p>
+</section>