X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/936a005f9f3757508a06eaa930d5e5c4efcfbe40..dc4cc8d21967d74b1fb229e37afb9ea4dcaf3e99:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index df99b51da..9bf39d9b9 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -33,6 +33,7 @@ historyclass = 'geolink bbox minzoom11' exportclass = 'geolink llz layers' traceclass = '' + diaryclass = '' 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' @@ -53,7 +54,7 @@ -
+
@@ -122,15 +123,14 @@
-
- <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2011'), :title => t('layouts.sotm2011'), :border => "0"), "http://stateofthemap.org/register-now/" %> -
-
+ <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) -%> + <%= render :partial => "layouts/piwik" %> + <% end -%>