Sha256: 311561cacbc7777146ace860c83fdcccaccff23e8f38a49acb2fcffded7bd6c4

Contents?: true

Size: 1.11 KB

Versions: 21

Compression:

Stored size: 1.11 KB

Contents

    <script type="text/javascript">
        var requestState = {
            <% if user_signed_in? %>
            user: '<%= current_user.login %>',
            <% end %>
            mainRequestedTopic: '<%= @topic_name %>',
            backRequestedTopic: null,
            mainDefaultTopic: '<%= @main_default_topic %>',
            backDefaultTopic: null,
            offlayers: <%= raw @offlayers.to_json %>,
            scaleDenominator: <%= @scale %>,
            mapPos: [<%= @x %>, <%= @y %>],
            <% if @selection_valid %>
            selection: {
                seltopic: '<%= @seltopic %>',
                sellayer: '<%= @sellayer %>',
                selproperty: '<%= @selproperty %>',
                selvalues: <%= raw @selvalues.to_json %>,
                selbbox: <%= raw @selbbox.to_json %>
            },
            <% else %>
            selection: null,
            <% end %>
            filter: {
                    filtertopic: '',
                    filterlayer: '',
                    filtersql: ''
            },
            redlining: <%= raw @redlining.to_json %>
        };
    </script>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gb_mapfish_appserver-0.9.5 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.9.4 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.9.3 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.9.2 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.9.1 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.9.0 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.7 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.6 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.5 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.4 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.3 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.2 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.1 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.8.0 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.0.7 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.0.6 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.0.5 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.0.4 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.0.3 app/views/apps/_request_state.html.erb
gb_mapfish_appserver-0.0.2 app/views/apps/_request_state.html.erb