X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/abc5b2d7b4bf08b29074e7bb152d48b904989443..126a94b462bf7a453bb478cb292744452ba1c84e:/app/views/site/_potlatch2.html.erb diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 825654029..f77f67f52 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -1,48 +1,91 @@
- <%= t 'site.edit.flash_player_required' %> +
<%= raw t 'site.edit.flash_player_required' %>
<%= javascript_include_tag 'swfobject.js' %> +<% if defined? POTLATCH2_KEY %> <% token = @user.access_token(POTLATCH2_KEY) %> +<% else%> + +<% end %> + +<% locale = select_locale(Potlatch2::LOCALES.keys).to_s %>