remove page and mobile titles

This commit is contained in:
Connor Turland 2018-03-05 12:43:11 -05:00
parent d910094d76
commit e6e0ca561a
15 changed files with 30 additions and 30 deletions

View file

@ -5,8 +5,8 @@
# }
<script>
{ content_for :title, "Explore Active Maps | Metamaps" }
{ content_for :mobile_title, "Recently Active" }
Metamaps.currentSection = "explore";
Metamaps.currentPage = "active";

View file

@ -5,8 +5,8 @@
# }
<script>
{ content_for :title, "Explore Featured Maps | Metamaps" }
{ content_for :mobile_title, "Featured Maps" }
Metamaps.currentSection = "explore";
Metamaps.currentPage = "featured";

View file

@ -5,8 +5,8 @@
# }
<script>
{ content_for :title, @user.name + " | Metamaps" }
{ content_for :mobile_title, @user.name }
Metamaps.currentSection = "explore";
Metamaps.currentPage = "mapper";

View file

@ -5,8 +5,8 @@
# }
<script>
{ content_for :title, "My Maps | Metamaps" }
{ content_for :mobile_title, "My Maps" }
Metamaps.currentPage = "mine";
Metamaps.currentSection = "explore";

View file

@ -5,8 +5,8 @@
# }
<script>
{ content_for :title, "Shared Maps | Metamaps" }
{ content_for :mobile_title, "Shared With Me" }
Metamaps.currentPage = "shared";
Metamaps.currentSection = "explore";

View file

@ -5,8 +5,8 @@
# }
<script>
{ content_for :title, "Starred Maps | Metamaps" }
{ content_for :mobile_title, "Starred Maps" }
Metamaps.currentPage = "starred";
Metamaps.currentSection = "explore";

View file

@ -4,8 +4,8 @@
# /maps/:id
#}
{ content_for :title, @map.name + " | Metamaps" }
{ content_for :mobile_title, @map.name }
<script>
Metamaps.currentSection = "map";
Metamaps.currentPage = { @map.id.to_s };

View file

@ -1,5 +1,5 @@
{ content_for :title, 'Notifications | Metamaps' }
{ content_for :mobile_title, 'Notifications' }
<div id="yield">
<div className="centerContent notificationsPage">

View file

@ -1,5 +1,5 @@
{ content_for :title, 'Notifications | Metamaps' }
{ content_for :mobile_title, 'Notifications' }
<div id="yield">
<div className="centerContent withPadding back">

View file

@ -6,8 +6,8 @@
#
}
{ content_for :title, @topic.name + " | Metamaps" }
{ content_for :mobile_title, @topic.name }
<script>
Metamaps.currentSection = "topic"
Metamaps.currentPage = { @topic.id.to_s }

View file

@ -4,8 +4,8 @@
# User edit form
#}
{ content_for :title, @user.name + "'s Settings | Metamaps" }
{ content_for :mobile_title, "Account Settings" }
<div id="yield">
{ form_for @user, url: user_url, :html =>{ :multipart => true, :className => "edit_user centerGreyForm"} do |form| }
<h3>Edit Settings</h3>

View file

@ -1,5 +1,5 @@
{ content_for :title, "Change Password | Metamaps" }
{ content_for :mobile_title, "Change Password" }
<div id="yield">
{ form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :className => "forgotPassword centerGreyForm forgotPasswordReset" }) do |f| }

View file

@ -1,5 +1,5 @@
{ content_for :title, "Password Reset | Metamaps" }
{ content_for :mobile_title, "Password Reset" }
<div id="yield">
{ form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :className => "forgotPassword centerGreyForm" }) do |f| }

View file

@ -1,5 +1,5 @@
{ content_for :title, "Sign Up | Metamaps" }
{ content_for :mobile_title, "Join" }
<div id="yield">
{ form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :post, :className => "new_user centerGreyForm" }) do |f| }

View file

@ -1,5 +1,5 @@
{ content_for :title, "Sign In | Metamaps" }
{ content_for :mobile_title, "Login" }
<div id="yield">
{ form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :method => :post, :className => "centerGreyForm login" }) do |f| }