]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Fix interpolation issues in attribution text
[rails.git] / app / views / site / index.html.erb
index 877bc177190a471cd747a52ceb4c21031783b274..3e4c4d996c8150304ff2db13551ab10ee65795c8 100644 (file)
       <td class="attribution_project"><%= t'site.index.license.project_url' %></td>
     </tr>
     <tr>
-      <td colspan="2" class="attribution_notice"><%=
-        t'site.index.license.notice',
-          :license_name => t('site.index.license.license_name'),
-          :project_name => t('site.index.license.project_name')
-        %></td>
+      <td colspan="2" class="attribution_notice"><%= t'site.index.license.copyright' %></td>
     </tr>
   </table>
 </div>
@@ -125,8 +121,6 @@ else
 end
 %>
 
-<%= render :partial => 'resize' %>
-
 <script type="text/javascript">
   var marker;
   var map;
@@ -291,7 +285,7 @@ end
       e.preventDefault();
     });
 
-    <% if params[:action] == 'export' -%>
+    <% if params[:export] -%>
     $("#exportanchor").click();
     <% end -%>