X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b90219f1d393c0b6e16848eb611e638fa14bf3ff..1a51f2187127f7376e2118b5a4ced49123b0504a:/app/views/site/_potlatch2.html.erb?ds=sidebyside diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 705b9139c..9edf6b5f7 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -1,36 +1,96 @@
- <%= 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 %> +