2016-03-25 04:26:07 +00:00
|
|
|
<%= render :partial => 'layouts/lightboxes' %>
|
|
|
|
<%= render :partial => 'layouts/templates' %>
|
|
|
|
<%= render :partial => 'shared/metacodeBgColors' %>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
2016-10-02 13:10:41 +00:00
|
|
|
<% if current_user %>
|
2017-03-08 18:50:39 +00:00
|
|
|
Metamaps.ServerData.ActiveMapper = <%= current_user.to_json({follows: true, email: true, follow_settings: true}).html_safe %>
|
2016-10-02 13:10:41 +00:00
|
|
|
<% else %>
|
2016-10-02 13:41:05 +00:00
|
|
|
Metamaps.ServerData.ActiveMapper = null
|
2016-10-02 13:10:41 +00:00
|
|
|
<% end %>
|
2016-03-25 04:26:07 +00:00
|
|
|
|
2016-10-02 13:10:41 +00:00
|
|
|
Metamaps.Loading.setup()
|
2016-03-25 04:26:07 +00:00
|
|
|
</script>
|
2017-01-04 17:08:12 +00:00
|
|
|
<%= render :partial => 'layouts/googleanalytics' if ENV["GA_TRACKING_CODE"].present? %>
|
2016-03-25 04:26:07 +00:00
|
|
|
</body>
|
|
|
|
</html>
|