]> git.openstreetmap.org Git - rails.git/commitdiff
Interpolate URL
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 6 Aug 2013 18:25:45 +0000 (11:25 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Mon, 12 Aug 2013 20:34:45 +0000 (13:34 -0700)
app/views/site/welcome.html.erb
config/locales/en.yml

index 87fcd22813023059aa353818daae66e0dddb2154..da775e3393e24ce54d4def93860ade09622309f5 100644 (file)
@@ -62,6 +62,6 @@
   <div class='inner22'>
     <h3><%= t "welcome_page.add_a_note.title" %></h3>
     <p><%= t "welcome_page.add_a_note.paragraph_1_html" %></p>
-    <p><%= t "welcome_page.add_a_note.paragraph_2_html" %></p>
+    <p><%= t "welcome_page.add_a_note.paragraph_2_html", :map_url => root_path %></p>
   </div>
 </div>
\ No newline at end of file
index 5115342fd30004238c3da8316ed052a8a278299f..5a1cd3a51c3f50bf9b9e16421c9cda1dac95ad7c 100644 (file)
@@ -1189,7 +1189,7 @@ en:
         If you just want something small fixed and don't have the time to sign up and learn how to edit, it's
         easy to add a note.
       paragraph_2_html: |
-        Just go to <a href='http://www.openstreetmap.org/'>the map</a> and click the note icon:
+        Just go to <a href='%{map_url}'>the map</a> and click the note icon:
         <span class='icon note'></span>. This will add a marker to the map, which you can move
         by dragging. Add your message, then click save, and other mappers will investigate.
   notifier: