Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Commit

Permalink
adding title to jade views, #138
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Oct 26, 2013
1 parent 0a27655 commit 1af230b
Show file tree
Hide file tree
Showing 32 changed files with 65 additions and 6 deletions.
2 changes: 2 additions & 0 deletions app/views/about.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Sobre o Ateliês"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/accessDenied.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Acesso proibido"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/account.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Sua conta"
extends homeLayout

append scriptsFooter
Expand Down
2 changes: 2 additions & 0 deletions app/views/accountMustVerifyUser.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Verifique sua conta"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/accountRegistered.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Usuário registrado"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/accountVerified.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Conta verificada"
extends baseBootstrap
append content
.container
Expand Down
3 changes: 2 additions & 1 deletion app/views/admin.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
append variables
- title += "Administração"
extends homeLayout

append scriptsFooter
script.
var adminStoresBootstrapModel = {
Expand Down
2 changes: 2 additions & 0 deletions app/views/blank.jade
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
append variables
- title += "Branco"
extends homeLayout
2 changes: 2 additions & 0 deletions app/views/changePassword.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 2 additions & 0 deletions app/views/contribute.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Contribuindo"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/donating.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Doando"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/facebookAuthCallbackError.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Acesso via Facebook negado"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/faq.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Perguntas Frequentes"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/forgotPassword.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 2 additions & 0 deletions app/views/iWantToBuy.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Quero comprar"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/iWantToSell.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Quero vender"
extends baseBootstrap
append content
section#app-container
Expand Down
3 changes: 2 additions & 1 deletion app/views/index.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
append variables
- title += "Shopping virtual de artes e afins"
extends homeLayout

append scriptsFooter
script.
var homeProductsBootstrapModel = !{JSON.stringify(products)};
Expand Down
4 changes: 3 additions & 1 deletion app/views/layout.jade
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions app/views/login.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 2 additions & 0 deletions app/views/notseller.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Você não é um vendedor"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/passwordChanged.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Senha trocada com sucesso"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/passwordResetSent.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Troca de senha solicitada com sucesso"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/profileUpdated.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Perfil atualizado com sucesso"
extends baseBootstrap
append content
.container
Expand Down
2 changes: 2 additions & 0 deletions app/views/register.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 2 additions & 0 deletions app/views/resetPassword.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
3 changes: 2 additions & 1 deletion app/views/siteAdmin.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
append variables
- title += "Administração do site"
extends homeLayout

append scriptsFooter
script.
var siteAdminBootstrapModel = {
Expand Down
2 changes: 2 additions & 0 deletions app/views/store.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += store.name
extends storeLayout

append scriptsFooter
Expand Down
3 changes: 2 additions & 1 deletion app/views/storeLayout.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
block variables
- var title = ""
extends layout

append layout
block header
section#main.container
Expand Down
3 changes: 2 additions & 1 deletion app/views/storeNotFound.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
append variables
- title += "Loja não encontrada"
extends baseBootstrap

append content
.container
h1#notExistent.page-header Loja não existe
Expand Down
2 changes: 2 additions & 0 deletions app/views/technology.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Tecnologia"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/terms.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
append variables
- title += "Termos de uso"
extends baseBootstrap
append content
section#app-container
Expand Down
2 changes: 2 additions & 0 deletions app/views/updateProfile.jade
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 1af230b

Please sign in to comment.