From 1af230b85ee97b90a2afce8f22dfec4084a4ac68 Mon Sep 17 00:00:00 2001 From: Giovanni Bassi Date: Sat, 26 Oct 2013 14:59:49 -0200 Subject: [PATCH] adding title to jade views, #138 --- app/views/about.jade | 2 ++ app/views/accessDenied.jade | 2 ++ app/views/account.jade | 2 ++ app/views/accountMustVerifyUser.jade | 2 ++ app/views/accountRegistered.jade | 2 ++ app/views/accountVerified.jade | 2 ++ app/views/admin.jade | 3 ++- app/views/blank.jade | 2 ++ app/views/changePassword.jade | 2 ++ app/views/contribute.jade | 2 ++ app/views/donating.jade | 2 ++ app/views/facebookAuthCallbackError.jade | 2 ++ app/views/faq.jade | 2 ++ app/views/forgotPassword.jade | 2 ++ app/views/iWantToBuy.jade | 2 ++ app/views/iWantToSell.jade | 2 ++ app/views/index.jade | 3 ++- app/views/layout.jade | 4 +++- app/views/login.jade | 2 ++ app/views/notseller.jade | 2 ++ app/views/passwordChanged.jade | 2 ++ app/views/passwordResetSent.jade | 2 ++ app/views/profileUpdated.jade | 2 ++ app/views/register.jade | 2 ++ app/views/resetPassword.jade | 2 ++ app/views/siteAdmin.jade | 3 ++- app/views/store.jade | 2 ++ app/views/storeLayout.jade | 3 ++- app/views/storeNotFound.jade | 3 ++- app/views/technology.jade | 2 ++ app/views/terms.jade | 2 ++ app/views/updateProfile.jade | 2 ++ 32 files changed, 65 insertions(+), 6 deletions(-) diff --git a/app/views/about.jade b/app/views/about.jade index 072c116..9b3d357 100644 --- a/app/views/about.jade +++ b/app/views/about.jade @@ -1,3 +1,5 @@ +append variables + - title += "Sobre o Ateliês" extends baseBootstrap append content section#app-container diff --git a/app/views/accessDenied.jade b/app/views/accessDenied.jade index f93a1b4..85a5c59 100644 --- a/app/views/accessDenied.jade +++ b/app/views/accessDenied.jade @@ -1,3 +1,5 @@ +append variables + - title += "Acesso proibido" extends baseBootstrap append content .container diff --git a/app/views/account.jade b/app/views/account.jade index fc99626..1c4e244 100644 --- a/app/views/account.jade +++ b/app/views/account.jade @@ -1,3 +1,5 @@ +append variables + - title += "Sua conta" extends homeLayout append scriptsFooter diff --git a/app/views/accountMustVerifyUser.jade b/app/views/accountMustVerifyUser.jade index adef1ba..f8c84c4 100644 --- a/app/views/accountMustVerifyUser.jade +++ b/app/views/accountMustVerifyUser.jade @@ -1,3 +1,5 @@ +append variables + - title += "Verifique sua conta" extends baseBootstrap append content .container diff --git a/app/views/accountRegistered.jade b/app/views/accountRegistered.jade index 6066ee3..3bea94c 100644 --- a/app/views/accountRegistered.jade +++ b/app/views/accountRegistered.jade @@ -1,3 +1,5 @@ +append variables + - title += "Usuário registrado" extends baseBootstrap append content .container diff --git a/app/views/accountVerified.jade b/app/views/accountVerified.jade index 90b29de..4828333 100644 --- a/app/views/accountVerified.jade +++ b/app/views/accountVerified.jade @@ -1,3 +1,5 @@ +append variables + - title += "Conta verificada" extends baseBootstrap append content .container diff --git a/app/views/admin.jade b/app/views/admin.jade index aa3d657..f9031e0 100644 --- a/app/views/admin.jade +++ b/app/views/admin.jade @@ -1,5 +1,6 @@ +append variables + - title += "Administração" extends homeLayout - append scriptsFooter script. var adminStoresBootstrapModel = { diff --git a/app/views/blank.jade b/app/views/blank.jade index 8a27fbd..4e693db 100644 --- a/app/views/blank.jade +++ b/app/views/blank.jade @@ -1 +1,3 @@ +append variables + - title += "Branco" extends homeLayout diff --git a/app/views/changePassword.jade b/app/views/changePassword.jade index 29b2080..3a0daef 100644 --- a/app/views/changePassword.jade +++ b/app/views/changePassword.jade @@ -1,3 +1,5 @@ +append variables + - title += "Troca de senha" extends homeLayout append scriptsFooter script(src='#{CLIENT_LIB_PATH}/lib/requirejs/require.js', data-main='#{CLIENT_LIB_PATH}/bootstrap.js') diff --git a/app/views/contribute.jade b/app/views/contribute.jade index 6653907..69bca3c 100644 --- a/app/views/contribute.jade +++ b/app/views/contribute.jade @@ -1,3 +1,5 @@ +append variables + - title += "Contribuindo" extends baseBootstrap append content section#app-container diff --git a/app/views/donating.jade b/app/views/donating.jade index ed7edc7..33166fb 100644 --- a/app/views/donating.jade +++ b/app/views/donating.jade @@ -1,3 +1,5 @@ +append variables + - title += "Doando" extends baseBootstrap append content section#app-container diff --git a/app/views/facebookAuthCallbackError.jade b/app/views/facebookAuthCallbackError.jade index 0931d36..0971e08 100644 --- a/app/views/facebookAuthCallbackError.jade +++ b/app/views/facebookAuthCallbackError.jade @@ -1,3 +1,5 @@ +append variables + - title += "Acesso via Facebook negado" extends baseBootstrap append content .container diff --git a/app/views/faq.jade b/app/views/faq.jade index 26d8801..7203ccc 100644 --- a/app/views/faq.jade +++ b/app/views/faq.jade @@ -1,3 +1,5 @@ +append variables + - title += "Perguntas Frequentes" extends baseBootstrap append content section#app-container diff --git a/app/views/forgotPassword.jade b/app/views/forgotPassword.jade index 2a9af6c..8de1af6 100644 --- a/app/views/forgotPassword.jade +++ b/app/views/forgotPassword.jade @@ -1,3 +1,5 @@ +append variables + - title += "Solicitar troca de senha" extends homeLayout append scriptsFooter script(src='#{CLIENT_LIB_PATH}/lib/requirejs/require.js', data-main='#{CLIENT_LIB_PATH}/bootstrap.js') diff --git a/app/views/iWantToBuy.jade b/app/views/iWantToBuy.jade index 663f6c7..b221330 100644 --- a/app/views/iWantToBuy.jade +++ b/app/views/iWantToBuy.jade @@ -1,3 +1,5 @@ +append variables + - title += "Quero comprar" extends baseBootstrap append content section#app-container diff --git a/app/views/iWantToSell.jade b/app/views/iWantToSell.jade index 1cdb84d..ed6ca95 100644 --- a/app/views/iWantToSell.jade +++ b/app/views/iWantToSell.jade @@ -1,3 +1,5 @@ +append variables + - title += "Quero vender" extends baseBootstrap append content section#app-container diff --git a/app/views/index.jade b/app/views/index.jade index 8af7ca9..fbf077d 100644 --- a/app/views/index.jade +++ b/app/views/index.jade @@ -1,5 +1,6 @@ +append variables + - title += "Shopping virtual de artes e afins" extends homeLayout - append scriptsFooter script. var homeProductsBootstrapModel = !{JSON.stringify(products)}; diff --git a/app/views/layout.jade b/app/views/layout.jade index bfe4db6..8cc4aa7 100644 --- a/app/views/layout.jade +++ b/app/views/layout.jade @@ -1,7 +1,9 @@ +block variables + - var title = "Ateliês - " doctype 5 html head - title="Ateliês - shopping virtual de artes e afins" + title=title meta(name="viewport", content="width=device-width, initial-scale=1.0") link(rel='stylesheet', href='#{STATIC_PATH}/stylesheets/style.css') include includes/shims diff --git a/app/views/login.jade b/app/views/login.jade index 51e0f10..05e2352 100644 --- a/app/views/login.jade +++ b/app/views/login.jade @@ -1,3 +1,5 @@ +append variables + - title += "Login" extends homeLayout append scriptsFooter script(src='#{CLIENT_LIB_PATH}/lib/requirejs/require.js', data-main='#{CLIENT_LIB_PATH}/bootstrap.js') diff --git a/app/views/notseller.jade b/app/views/notseller.jade index ca46bf0..3135c6c 100644 --- a/app/views/notseller.jade +++ b/app/views/notseller.jade @@ -1,3 +1,5 @@ +append variables + - title += "Você não é um vendedor" extends baseBootstrap append content .container diff --git a/app/views/passwordChanged.jade b/app/views/passwordChanged.jade index 865bbf5..6f09d97 100644 --- a/app/views/passwordChanged.jade +++ b/app/views/passwordChanged.jade @@ -1,3 +1,5 @@ +append variables + - title += "Senha trocada com sucesso" extends baseBootstrap append content .container diff --git a/app/views/passwordResetSent.jade b/app/views/passwordResetSent.jade index 1aab612..19a3fbd 100644 --- a/app/views/passwordResetSent.jade +++ b/app/views/passwordResetSent.jade @@ -1,3 +1,5 @@ +append variables + - title += "Troca de senha solicitada com sucesso" extends baseBootstrap append content .container diff --git a/app/views/profileUpdated.jade b/app/views/profileUpdated.jade index a4dc4ca..5e39db1 100644 --- a/app/views/profileUpdated.jade +++ b/app/views/profileUpdated.jade @@ -1,3 +1,5 @@ +append variables + - title += "Perfil atualizado com sucesso" extends baseBootstrap append content .container diff --git a/app/views/register.jade b/app/views/register.jade index 50edbcc..c65d803 100644 --- a/app/views/register.jade +++ b/app/views/register.jade @@ -1,3 +1,5 @@ +append variables + - title += "Registre-se" extends homeLayout append scriptsFooter script(src='#{CLIENT_LIB_PATH}/lib/requirejs/require.js', data-main='#{CLIENT_LIB_PATH}/bootstrap.js') diff --git a/app/views/resetPassword.jade b/app/views/resetPassword.jade index 682e1b3..86d8760 100644 --- a/app/views/resetPassword.jade +++ b/app/views/resetPassword.jade @@ -1,3 +1,5 @@ +append variables + - title += "Trocando de senha" extends homeLayout append scriptsFooter script(src='#{CLIENT_LIB_PATH}/lib/requirejs/require.js', data-main='#{CLIENT_LIB_PATH}/bootstrap.js') diff --git a/app/views/siteAdmin.jade b/app/views/siteAdmin.jade index 82f70f5..a12df6e 100644 --- a/app/views/siteAdmin.jade +++ b/app/views/siteAdmin.jade @@ -1,5 +1,6 @@ +append variables + - title += "Administração do site" extends homeLayout - append scriptsFooter script. var siteAdminBootstrapModel = { diff --git a/app/views/store.jade b/app/views/store.jade index ec6fb4a..1b96bce 100644 --- a/app/views/store.jade +++ b/app/views/store.jade @@ -1,3 +1,5 @@ +append variables + - title += store.name extends storeLayout append scriptsFooter diff --git a/app/views/storeLayout.jade b/app/views/storeLayout.jade index 0fbebd9..0e3124e 100644 --- a/app/views/storeLayout.jade +++ b/app/views/storeLayout.jade @@ -1,5 +1,6 @@ +block variables + - var title = "" extends layout - append layout block header section#main.container diff --git a/app/views/storeNotFound.jade b/app/views/storeNotFound.jade index 646478b..d69d264 100644 --- a/app/views/storeNotFound.jade +++ b/app/views/storeNotFound.jade @@ -1,5 +1,6 @@ +append variables + - title += "Loja não encontrada" extends baseBootstrap - append content .container h1#notExistent.page-header Loja não existe diff --git a/app/views/technology.jade b/app/views/technology.jade index b982a59..430568c 100644 --- a/app/views/technology.jade +++ b/app/views/technology.jade @@ -1,3 +1,5 @@ +append variables + - title += "Tecnologia" extends baseBootstrap append content section#app-container diff --git a/app/views/terms.jade b/app/views/terms.jade index e297bc1..8f5e7e9 100644 --- a/app/views/terms.jade +++ b/app/views/terms.jade @@ -1,3 +1,5 @@ +append variables + - title += "Termos de uso" extends baseBootstrap append content section#app-container diff --git a/app/views/updateProfile.jade b/app/views/updateProfile.jade index 0fbb996..acb9529 100644 --- a/app/views/updateProfile.jade +++ b/app/views/updateProfile.jade @@ -1,3 +1,5 @@ +append variables + - title += "Atualização de perfil" extends homeLayout append scriptsFooter script(src='#{CLIENT_LIB_PATH}/lib/requirejs/require.js', data-main='#{CLIENT_LIB_PATH}/bootstrap.js')