tags. Until we move logs out of the chat we have this hack. - const containsParagraphTag = /
]*>.*?<\/p>/.test(message.content)
-
- // Too many users are currently assigned as Group Managers, and we don't want them
- // all to be able to modify other users messages; but Admin users may not have
- // access to this page; so we require that they be Admin AND Group Manager.
- if (
- ((isAdmin && isGroupAdmin) || currentUser.id === message.user.id) &&
- containsParagraphTag
- ) {
- return (
- <>
- tags. Until we move logs out of the chat we have this hack.
+ const containsParagraphTag = / ]*>.*?<\/p>/.test(message.content)
+
+ // Too many users are currently assigned as Group Managers, and we don't want them
+ // all to be able to modify other users messages; but Admin users may not have
+ // access to this page; so we require that they be Admin AND Group Manager.
+ if (
+ ((isAdmin && isGroupAdmin) || currentUser.id === message.user.id) &&
+ containsParagraphTag
+ ) {
+ return (
+ <>
+ {item.label} {item.label} {item.label} {item.label}
-
+ {emailContent.description} {emailContent.description}
- {filteredList.map((item, i) => (
- // eslint-disable-next-line react/jsx-key
-
-
+ {filteredList.map((item, i) => (
+
+ }
-
}
+
`
-
- const copiedStr = `{{ '${imageTag}' | imagesHandler(article.shortId, 'articles', cmsConfig.group, cmsLayout.hexCode) | makeSvgsFromLatex(true) | safe }}`
-
- return navigator.clipboard.writeText(copiedStr)
- }
- }
-
- // Don't let users copy handlebars code for fields such as 'manuscriptFile' or 'visualAbstract',
- // as these aren't actually stored in the submission or even the manuscript object.
- // TODO: Provide a way for users to insert such fields into the template.
- const formWithSubmissionFieldsOnly = {
- ...form,
- children: form.children.filter(field =>
- field.name.startsWith('submission.'),
- ),
- }
-
- const cssArticle = {
- content: (
-
`
+
+ const copiedStr = `{{ '${imageTag}' | imagesHandler(article.shortId, 'articles', cmsConfig.group, cmsLayout.hexCode) | makeSvgsFromLatex(true) | safe }}`
+
+ return navigator.clipboard.writeText(copiedStr)
+ }
+ }
+
+ // Don't let users copy handlebars code for fields such as 'manuscriptFile' or 'visualAbstract',
+ // as these aren't actually stored in the submission or even the manuscript object.
+ // TODO: Provide a way for users to insert such fields into the template.
+ const formWithSubmissionFieldsOnly = {
+ ...form,
+ children: form.children.filter(field =>
+ field.name.startsWith('submission.'),
+ ),
+ }
+
+ const cssArticle = {
+ content: (
+
-
+ }
-
}
+
-
I will autoredirect in a few moments...
-
+
I will autoredirect in a few moments...
+
-
-
+
+
-
+
{form.structure.name}
- {form.structure.name}
+