Skip to content
Snippets Groups Projects
Commit e95f511c authored by Arie Peterson's avatar Arie Peterson
Browse files

Allow line breaks in suggestions

Also includes a few other small suggestion fixes.
parent 9801bbe4
No related branches found
No related tags found
1 merge request!20Resolve "Improvements to YAML contents"
...@@ -19,7 +19,11 @@ export const ProblemSuggestionList: React.FC<ProblemSuggestionListProps> = ({ ...@@ -19,7 +19,11 @@ export const ProblemSuggestionList: React.FC<ProblemSuggestionListProps> = ({
<ul> <ul>
{suggestions.map((suggestion: Suggestion, i: number) => ( {suggestions.map((suggestion: Suggestion, i: number) => (
<li key={i}> <li key={i}>
<a href={suggestion.link} target="_blank">{suggestion.description}</a> <a href={suggestion.link} target="_blank">
{suggestion.description.split('<br>').map(function(item) {
return (<span>{item}<br/></span>)
})}
</a>
</li> </li>
))} ))}
</ul> </ul>
......
...@@ -66,7 +66,7 @@ localisations: ...@@ -66,7 +66,7 @@ localisations:
hosting: hosting:
description: My website is not reachable or is not working properly description: My website is not reachable or is not working properly
suggestionDescription: suggestionDescription:
+ 'Below are suggestions that might help you solve your problem or answer your question. Please check if any of these suggestions apply. If not, or if the provided answer is insufficient, please specify your problem or question below.' 'Below are suggestions that might help you solve your problem or answer your question. Please check if any of these suggestions apply. If not, or if the provided answer is insufficient, please specify your problem or question below.'
suggestions: suggestions:
- link: https://greenhost.net/helpdesk/website/sftp/ - link: https://greenhost.net/helpdesk/website/sftp/
description: How do I connect to the SFTP server? description: How do I connect to the SFTP server?
...@@ -80,20 +80,20 @@ localisations: ...@@ -80,20 +80,20 @@ localisations:
'Below are suggestions that might help you solve your problem or answer your question. Please check if any of these suggestions apply. If not, or if the provided answer is insufficient, please specify your problem or question below.' 'Below are suggestions that might help you solve your problem or answer your question. Please check if any of these suggestions apply. If not, or if the provided answer is insufficient, please specify your problem or question below.'
suggestions: suggestions:
- link: https://webmail.greenhost.nl/roundcube/ - link: https://webmail.greenhost.nl/roundcube/
description: Did you try connecting to our webmail? This is a good way to reach your email, and an easy way to check if you are using the right username and password. description: Did you try connecting to our webmail? <br> This is a good way to reach your email, and an easy way to check if you are using the right username and password.
- link: https://greenhost.net/helpdesk/email/configuring-email-client/ - link: https://greenhost.net/helpdesk/email/configuring-email-client/
description: Problems connecting to the mailserver with a email client? find our recommended settings here. description: Problems connecting to the mailserver with a email client? Find our recommended settings here.
- link: https://greenhost.net/helpdesk/email/managing-email-accounts/ - link: https://greenhost.net/helpdesk/email/managing-email-accounts/
description: How can I change the password of a email user. description: How can I change the password of a email user?
- link: https://greenhost.net/helpdesk/email/managing-email-accounts/ - link: https://greenhost.net/helpdesk/email/managing-email-accounts/
description: How do I create a new emailaccount? description: How do I create a new email account?
VPS: VPS:
description: Trouble with our VPS's? description: Trouble with our VPS's?
suggestionDescription: suggestionDescription:
Below are some suggestions that might help you solve your problem or answer your question. Please check if any of these suggestions apply. If not, or if the provided answer is insufficient, please specify your problem or question below.' Below are some suggestions that might help you solve your problem or answer your question. Please check if any of these suggestions apply. If not, or if the provided answer is insufficient, please specify your problem or question below.
suggestions: suggestions:
- link: https://greenhost.net/helpdesk/vps/lockout/ - link: https://greenhost.net/helpdesk/vps/lockout/
description: I can't login to my VPS (anymore)? description: I can't login to my VPS (anymore).
- link: https://greenhost.net/helpdesk/vps/basics/ - link: https://greenhost.net/helpdesk/vps/basics/
description: I don't know where to start, or things are different from what I expect. description: I don't know where to start, or things are different from what I expect.
...@@ -181,7 +181,7 @@ localisations: ...@@ -181,7 +181,7 @@ localisations:
VPS: VPS:
description: Problemen met een VPS? description: Problemen met een VPS?
suggestionDescription: suggestionDescription:
''Hieronder vind u enkele veel voorkomende vragen of problemen met betrekking tot VPSen. Mogelijk is daarmee uw vraag of probleem direct beantwoord. Staat uw vraag hier niet tussen, of is het antwoord niet afdoende, dan horen we graag via onderstaand contactformulier wat uw vraag precies is:'' 'Hieronder vind u enkele veel voorkomende vragen of problemen met betrekking tot VPSen. Mogelijk is daarmee uw vraag of probleem direct beantwoord. Staat uw vraag hier niet tussen, of is het antwoord niet afdoende, dan horen we graag via onderstaand contactformulier wat uw vraag precies is:'
suggestions: suggestions:
- link: https://greenhost.nl/helpdesk/vps/lockout/ - link: https://greenhost.nl/helpdesk/vps/lockout/
description: Ik kan niet (meer) inloggen op mijn VPS. description: Ik kan niet (meer) inloggen op mijn VPS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment