X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/70d75e3dc0ac3d2303f04b19a49d915947279842..a33b85d29f172b4b4d0621baeea8f7ab8d3bf09d:/app/views/site/_potlatch2.html.erb diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index cda423e29..3aeafa9cf 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -1,15 +1,18 @@
- <%= 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 %>