X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc48c9a5101c263dfd0eb33fa358490fc2ad9de0..78ff250c1db6429bc09b95b5c061898ef770426c:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 19835489c..2c6752ab9 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -31,18 +31,15 @@ editclass = 'geolink llz object minzoom13 disabled' historyclass = 'geolink bbox minzoom11' exportclass = 'geolink llz layers' - traceclass = '' - viewclass += ' active' if params['controller'] == 'site' and params['action'] == 'index' - editclass += ' active' if params['controller'] == 'site' and params['action'] == 'edit' - historyclass += ' active' if params['controller'] == 'changeset' and params['action'] == 'list' + viewclass += ' active' if params['controller'] == 'site' and params['action'] == 'index' + editclass += ' active' if params['controller'] == 'site' and params['action'] == 'edit' + historyclass += ' active' if params['controller'] == 'changeset' and params['action'] == 'list' exportclass += ' active' if params['controller'] == 'site' and params['action'] == 'export' - traceclass += ' active' if params['controller'] == 'trace' %>
- <%= raw(t 'layouts.intro_2', + <%= t 'layouts.intro_2_html', :download => link_to(t('layouts.intro_2_download'), "http://planet.openstreetmap.org/"), :use => link_to(t('layouts.intro_2_use'), t('layouts.intro_2_use_url')), :license => link_to(t('layouts.intro_2_license'), url_for({:controller => 'site', :action => 'copyright'})), :create_account => link_to(t('layouts.intro_2_create_account'), - url_for({:controller => 'user', :action => 'new'}))) + url_for({:controller => 'user', :action => 'new'})) %>