-
elseif ($this->community->id_community) : ?>
- $this->title = $this->community->name.($this->community->name_alt ? ' | '.$this->community->name_alt : '').' Food Delivery | Order Food from Local Restaurants | Crunchbutton';
+ $this->title = $this->community->name.' Food Delivery | Order Food from '.($this->community->name_alt ? $this->community->name_alt : 'Local').' Restaurants | Crunchbutton';
?>
if (c::app()->isBot()) : ?>
diff --git a/www/assets/js/app.js b/www/assets/js/app.js
index 89d0e669f..2abefb7fd 100644
--- a/www/assets/js/app.js
+++ b/www/assets/js/app.js
@@ -180,7 +180,7 @@ App.page.community = function(id) {
App.track('Community page loaded', {community: App.community.name});
- document.title = App.community.name + (App.community.name_alt ? ' | ' + App.community.name_alt : '') + ' Food Delivery | Order Food from Local Restaurants | Crunchbutton';
+ document.title = App.community.name + ' Food Delivery | Order Food from ' + (App.community.name_alt ? App.community.name_alt : 'Local') + ' Restaurants | Crunchbutton';
var slogan = App.slogans[Math.floor(Math.random()*App.slogans.length)];
var sloganReplace = App.community.prep + ' ' + App.community.name;
@@ -231,7 +231,6 @@ App.page.community = function(id) {
};
App.page.restaurant = function(id) {
-
App.currentPage = 'restaurant';
App.cartHighlightEnabled = false;
@@ -246,8 +245,7 @@ App.page.restaurant = function(id) {
App.restaurant = this;
App.track('Restaurant page loaded', {restaurant: App.restaurant.name});
-
- document.title = 'Crunchbutton - ' + App.restaurant.name;
+ document.title = App.restaurant.name + ' | ' + App.community.name + ' Food Delivery | Order from ' + (App.community.name_alt ? App.community.name_alt : 'Local') + ' Restaurants | Crunchbutton';
$('.main-content').html(
'
' +