From 297c15db98fb4752a1ce68bf88281b2a9691f6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 15 Dec 2016 14:10:36 +0000 Subject: [PATCH] link settings and projects --- frontend/locales/en-us.json | 7 +- frontend/locales/pt-pt.json | 7 +- frontend/package.json | 1 + frontend/src/containers/app.js | 2 +- frontend/src/containers/dashboard/index.js | 84 +++++++++---- frontend/src/containers/dashboard/projects.js | 13 ++ frontend/src/containers/dashboard/settings.js | 43 +++++++ frontend/src/containers/home/index.js | 90 +++++--------- frontend/src/containers/org/index.js | 111 +++++++++++++----- frontend/src/containers/org/people.js | 29 +++++ frontend/src/containers/org/projects.js | 17 +++ frontend/src/containers/org/settings.js | 29 +++++ frontend/src/root.js | 21 +++- frontend/yarn.lock | 4 + ui/src/components/column/index.js | 8 ++ 15 files changed, 347 insertions(+), 119 deletions(-) create mode 100644 frontend/src/containers/dashboard/projects.js create mode 100644 frontend/src/containers/dashboard/settings.js create mode 100644 frontend/src/containers/org/people.js create mode 100644 frontend/src/containers/org/projects.js create mode 100644 frontend/src/containers/org/settings.js diff --git a/frontend/locales/en-us.json b/frontend/locales/en-us.json index 0f179938..391ee064 100644 --- a/frontend/locales/en-us.json +++ b/frontend/locales/en-us.json @@ -1,4 +1,9 @@ { "your-dashboard": "Your Dashboard", - "welcome-to": "Welcome to" + "settings": "Settings", + "projects": "Projects", + "people": "People", + "no-personal-projects": "You don't have any personal projects at the moment.", + "create-new": "Create new", + "your-settings": "Your settings" } \ No newline at end of file diff --git a/frontend/locales/pt-pt.json b/frontend/locales/pt-pt.json index f88ebb3e..9ad3487e 100644 --- a/frontend/locales/pt-pt.json +++ b/frontend/locales/pt-pt.json @@ -1,4 +1,9 @@ { "your-dashboard": "O seu painel", - "welcome-to": "Bem vindo a" + "settings": "Preferências", + "projects": "Projectos", + "people": "Pessoas", + "no-personal-projects": "No momento não tem projectos pessoais", + "create-new": "Criar novo", + "your-settings": "As suas preferências" } \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index e889283c..b94ee9ac 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,6 +23,7 @@ "express": "^4.14.0", "inherits": "^2.0.3", "locale": "^0.1.0", + "lodash.isempty": "^4.4.0", "lodash.template": "^4.4.0", "lodash.uniq": "^4.5.0", "param-case": "^2.1.0", diff --git a/frontend/src/containers/app.js b/frontend/src/containers/app.js index 25b3f603..445c7849 100644 --- a/frontend/src/containers/app.js +++ b/frontend/src/containers/app.js @@ -72,7 +72,7 @@ module.exports = (props) => {
- +