Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve open in new tab #890

Merged
merged 1 commit into from
Oct 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion front/src/components/header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ const Header = ({ ...props }) => {
<i class="dropdown-icon fe fe-settings" /> <Text id="header.settings" />
</a>
<div class="dropdown-divider" />
<a class="dropdown-item" href="https://community.gladysassistant.com/">
<a
class="dropdown-item"
href="https://community.gladysassistant.com/"
target="_blank"
rel="noopener noreferrer"
>
<i class="dropdown-icon fe fe-help-circle" /> <Text id="header.needHelp" />
</a>
<a class="dropdown-item" href="" onClick={props.logout}>
Expand Down
8 changes: 4 additions & 4 deletions front/src/config/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"global": {
"logoAlt": "Gladys logo",
"needHelpText": "Need help? Join us on <a href=\"https://community.gladysassistant.com/\"> Gladys Community</a>.",
"needHelpText": "Need help? Join us on <a href=\"https://community.gladysassistant.com/\" target=\"_blank\" rel=\"noopener noreferrer\"> Gladys Community</a>.",
"new": "New",
"orderDirAsc": "A - Z",
"orderDirDesc": "Z - A",
Expand Down Expand Up @@ -45,7 +45,7 @@
"loginButtonText": "Log in",
"wrongCredentials": "Wrong email/password.",
"invalidEmail": "Invalid email",
"needHelpText": "Need help? Join us on <a href=\"https://community.gladysassistant.com/\"> Gladys Community</a>."
"needHelpText": "Need help? Join us on <a href=\"https://community.gladysassistant.com/\" target=\"_blank\" rel=\"noopener noreferrer\"> Gladys Community</a>."
},
"signup": {
"welcome": {
Expand Down Expand Up @@ -532,7 +532,7 @@
"username": "Apple ID",
"usernameInfo": "Enter your Apple ID.",
"password": "Password",
"passwordInfo": "<a href=https://support.apple.com/en-us/HT204397 target=_blank>Generate an app-specific password</a> and use this app-specific password instead of your account password."
"passwordInfo": "<a href=\"https://support.apple.com/en-us/HT204397\" target=\"_blank\" rel=\"noopener noreferrer\">Generate an app-specific password</a> and use this app-specific password instead of your account password."
},
"google": {
"name": "Google Calendar (deprecated)",
Expand All @@ -541,7 +541,7 @@
"username": "Email",
"usernameInfo": "Enter your Google email adress.",
"password": "Password",
"passwordInfo": "<a href=https://support.google.com/accounts/answer/185833?hl=en target=_blank>Generate an app-specific password</a> and use this app-specific password instead of your account password."
"passwordInfo": "<a href=\"https://support.google.com/accounts/answer/185833?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">Generate an app-specific password</a> and use this app-specific password instead of your account password."
},
"synology": {
"name": "Synology Calendar",
Expand Down
8 changes: 4 additions & 4 deletions front/src/config/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"global": {
"logoAlt": "Logo Gladys",
"needHelpText": "Besoin d'aide ? Rejoignez-nous sur <a href=\"https://community.gladysassistant.com/\"> Gladys Community</a>.",
"needHelpText": "Besoin d'aide ? Rejoignez-nous sur <a href=\"https://community.gladysassistant.com/\" target=\"_blank\" rel=\"noopener noreferrer\"> Gladys Community</a>.",
"new": "Nouveau",
"orderDirAsc": "A - Z",
"orderDirDesc": "Z - A",
Expand Down Expand Up @@ -45,7 +45,7 @@
"loginButtonText": "Connexion",
"wrongCredentials": "Adresse e-mail ou mot de passe invalide",
"invalidEmail": "E-mail invalide",
"needHelpText": "Besoin d'aide ? Rejoignez-nous sur <a href=\"https://community.gladysassistant.com/\"> Gladys Community</a>."
"needHelpText": "Besoin d'aide ? Rejoignez-nous sur <a href=\"https://community.gladysassistant.com/\" target=\"_blank\" rel=\"noopener noreferrer\"> Gladys Community</a>."
},
"signup": {
"welcome": {
Expand Down Expand Up @@ -248,7 +248,7 @@
"username": "Apple ID",
"usernameInfo": "Entrez votre Apple ID.",
"password": "Mot de passe",
"passwordInfo": "<a href=https://support.apple.com/fr-fr/HT204397 target=_blank>Générez un mot de passe application</a> et utilisez le à la place du mot de passe de votre compte."
"passwordInfo": "<a href=\"https://support.apple.com/fr-fr/HT204397\" target=\"_blank\" rel=\"noopener noreferrer\">Générez un mot de passe application</a> et utilisez le à la place du mot de passe de votre compte."
},
"google": {
"name": "Google Agenda (déprécié)",
Expand All @@ -257,7 +257,7 @@
"username": "Email",
"usernameInfo": "Entrez l'adresse email de votre compte Google.",
"password": "Mot de passe",
"passwordInfo": "<a href=https://support.google.com/accounts/answer/185833?hl=fr target=_blank>Générez un mot de passe application</a> et utilisez le à la place du mot de passe de votre compte."
"passwordInfo": "<a href=\"https://support.google.com/accounts/answer/185833?hl=fr\" target=\"_blank\" rel=\"noopener noreferrer\">Générez un mot de passe application</a> et utilisez le à la place du mot de passe de votre compte."
},
"synology": {
"name": "Calendrier Synology",
Expand Down