From a2ce20b5642f99cf50504f7cfae202ad4b3f1677 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 13 Apr 2016 10:48:34 +0800 Subject: [PATCH 1/2] versioncode fix --- app/assets/javascripts/src/Metamaps.js.erb | 2 +- app/views/layouts/_lightboxes.html.erb | 2 +- config/initializers/version.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/src/Metamaps.js.erb b/app/assets/javascripts/src/Metamaps.js.erb index 231592da..9044d7b6 100644 --- a/app/assets/javascripts/src/Metamaps.js.erb +++ b/app/assets/javascripts/src/Metamaps.js.erb @@ -21,7 +21,7 @@ Metamaps.panningInt = null; Metamaps.tempNode = null; Metamaps.tempInit = false; Metamaps.tempNode2 = null; -Metamaps.VERSION = '<%= VERSION %>' +Metamaps.VERSION = '<%= METAMAPS_VERSION %>' Metamaps.Settings = { embed: false, // indicates that the app is on a page that is optimized for embedding in iFrames on other web pages diff --git a/app/views/layouts/_lightboxes.html.erb b/app/views/layouts/_lightboxes.html.erb index 461366c0..97e2dd29 100644 --- a/app/views/layouts/_lightboxes.html.erb +++ b/app/views/layouts/_lightboxes.html.erb @@ -18,7 +18,7 @@

PRIVATE BETA

-

<%= VERSION %>

+

<%= METAMAPS_VERSION %>

Mar 26, 2016

diff --git a/config/initializers/version.rb b/config/initializers/version.rb index 1870c09f..a04901a1 100644 --- a/config/initializers/version.rb +++ b/config/initializers/version.rb @@ -1 +1 @@ -VERSION = '2.8.4' +METAMAPS_VERSION = '2.8.5' From e6c43131840e9664a33cab76b4c8945823396832 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 13 Apr 2016 10:50:51 +0800 Subject: [PATCH 2/2] reindent upperelements template + fix input tag --- app/views/layouts/_upperelements.html.erb | 98 +++++++++++------------ 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/app/views/layouts/_upperelements.html.erb b/app/views/layouts/_upperelements.html.erb index 91a9955b..6aedfeec 100644 --- a/app/views/layouts/_upperelements.html.erb +++ b/app/views/layouts/_upperelements.html.erb @@ -2,63 +2,63 @@
- - + + - -
- -
-
-
-
+ +
+ +
+
+
+
-
SUPPORT US!
-
- -
-
Filter
-
- <%= render :partial => 'shared/filterBox' %> -
-
- - <% if current_user %> - -
-
Save To New Map
-
- <% end %> - -
-
+
SUPPORT US!
+
+ +
+
Filter
+
+ <%= render :partial => 'shared/filterBox' %> +
+
<% if current_user %> - -
Create New Map
-
+ +
+
Save To New Map
+
<% end %> - - <% if !(controller_name == "sessions" && action_name == "new") %> -
-
Account
- <% if current_user && current_user.image %> - <%= image_tag current_user.image.url(:thirtytwo), :size => "32x32" %> - <% elsif !current_user %> - SIGN IN -
- <% end %> -
-
- <%= render :partial => 'layouts/account' %> -
-
- <% end %>
+
+ + <% if current_user %> + +
Create New Map
+
+ <% end %> + + + <% if !(controller_name == "sessions" && action_name == "new") %> +
+
Account
+ <% if current_user && current_user.image %> + <%= image_tag current_user.image.url(:thirtytwo), :size => "32x32" %> + <% elsif !current_user %> + SIGN IN +
+ <% end %> +
+
+ <%= render :partial => 'layouts/account' %> +
+
+ <% end %> +