Skip to content

Commit

Permalink
update message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sartxi committed Jun 11, 2024
1 parent 7174022 commit ff940e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions libs/blocks/locui/locui.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
border-radius: 10px;
border: 10px solid #eee;
padding: 10px 30px 30px;
text-align: center;
}
}
7 changes: 5 additions & 2 deletions libs/blocks/locui/locui.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ import { createTag } from '../../utils/utils.js';
export default function init(el) {
el.classList.add('container');
const heading = createTag('h2', null, 'Missing project details');
const text = createTag('p', null, 'After authentication, unfortunately the project details were cleared upon redirect. To get back to your project, please return to the excel and run the project again.');
const paragraph = createTag('p', null, 'The project details were removed after you logged in. To resolve this:');
const steps = createTag('ol', null);
const stepList = ['Close this window or tab.', 'Open your project Excel file.', 'Click "Localize..." in Sidekick again.'];
stepList.forEach((step) => steps.append(createTag('li', null, step)));
const learnmore = createTag('a', {
class: 'con-button',
href: 'https://milo.adobe.com/docs/authoring/localization#:~:text=at%20render%20time.-,Troubleshooting,-Error%20matrix',
target: '_blank',
}, 'Learn More');
el.append(heading, text, learnmore);
el.append(heading, paragraph, steps, learnmore);
}

0 comments on commit ff940e1

Please sign in to comment.