From 97966817eab1795a896e7faf40ff7bdfb258090a Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Wed, 8 Jul 2015 20:40:48 +0300 Subject: [PATCH] +CopyrightController: developer copyright only on main page; --- client/app.js | 5 +---- templates/main-dev.html | 6 +++--- templates/main.html | 6 +++--- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/client/app.js b/client/app.js index a6f8996d..b9d8efdb 100644 --- a/client/app.js +++ b/client/app.js @@ -73,10 +73,6 @@ app.run(function($location, $rootScope, $http, config) { email: config.email }; - $rootScope.now = { - year: new Date().getFullYear() - }; - $http.defaults.headers.common["Accept"] = "application/json"; }); @@ -93,6 +89,7 @@ require("./pages/schedule")(app); require("./pages/team")(app); require("./pages/gallery")(app); require("./pages/docs")(app); +require("./controllers/CopyrightController")(app); app.controller("SchedulePageController", function ($scope) { $scope.pageClass = "page-schedule"; diff --git a/templates/main-dev.html b/templates/main-dev.html index a9b742aa..a2aa7a3e 100644 --- a/templates/main-dev.html +++ b/templates/main-dev.html @@ -82,9 +82,9 @@ - diff --git a/templates/main.html b/templates/main.html index 2311c082..b2b0ac49 100644 --- a/templates/main.html +++ b/templates/main.html @@ -99,9 +99,9 @@ -