...
 
Commits (10)
......@@ -123,7 +123,7 @@ const UnclaimAction = styled(Action)`
}
}
`
const claimStates = ['submitted', 'xml-qa', 'xml-triage']
const claimStates = ['submitted', 'xml-qa', 'xml-triage', 'ncbi-triage']
const NoteIcon = withTheme(({ theme, indexed }) => (
<Icon color={theme.colorSuccess} size={2}>
......
......@@ -64,7 +64,13 @@ class ReviewFooter extends React.Component {
)
} else if (status === 'ncbi-triage') {
return (
<Button onClick={() => setStatus('xml-complete')} primary>
<Button
onClick={async () => {
await setStatus('xml-complete')
history.push(`/submission/${manuscript.id}/activity`)
}}
primary
>
Retry send to NCBI
</Button>
)
......
......@@ -6,6 +6,7 @@ import { Page, Toggle, A } from '../ui'
import { Requirements, AllowedFiles, VideoTutorials } from './user-guide-pages/'
import MSSHorizontal from '../../assets/mss_process_horizontal.png'
import MSSVertical from '../../assets/mss_process_vertical.png'
import BulkUpload from '../../assets/nihms-bulk-sub.tar.gz'
const Image = styled.img`
width: 100%;
......@@ -70,7 +71,7 @@ const UserGuide = () => (
<H4>Publishers and bulk submitters</H4>
<p>
{`Europe PMC plus accepts multiple manuscripts submitted on behalf of authors via FTP. This offers publishers a way to use in-house automated processes to organize and upload manuscript submissions in bulk. For more information, please download the `}
<A download="Plus Bulk Upload" href="/assets/nihms-bulk-sub.tar.gz">
<A download="Plus Bulk Upload" href={BulkUpload}>
Plus Bulk Upload
</A>
{` package.`}
......
......@@ -15,7 +15,7 @@ services:
app:
# user: 'node'
image: xpubepmc_app:1.5.0
image: xpubepmc_app:1.5.1
build:
context: .
dockerfile: ./Dockerfile
......
{
"name": "xpub-epmc",
"version": "1.5.0",
"version": "1.5.1",
"private": true,
"description": "xpub configured for Europe PMC Plus manuscript submission system",
"license": "MIT",
......
......@@ -98,6 +98,13 @@ function getManuscript(manId) {
file.type,
)
) {
if (
file.type === 'manuscript' &&
list.some(file => file.type === 'manuscript') &&
!file.label
) {
file.label = list.length().toString()
}
file.filename = fileUtils.normalizeFilename(file)
}
list.push(file)
......
......@@ -1568,7 +1568,7 @@
<span class="fig-label">
<xsl:value-of select="../label/text()"/>
<xsl:if test="title">
<xsl:text>:</xsl:text>
<xsl:text>: </xsl:text>
</xsl:if>
</span>
<xsl:text> </xsl:text>
......@@ -1940,9 +1940,9 @@
<xsl:template match="back/fn-group/fn/p">
<xsl:choose>
<xsl:when test="bold and not(child::text())">
<xsl:when test="bold and (not(child::text()) or not(child::text()[normalize-space(.) != '']))">
<h3>
<xsl:value-of select="."/>
<xsl:value-of select="bold"/>
</h3>
</xsl:when>
<xsl:otherwise>
......@@ -1986,7 +1986,7 @@
<xsl:template match="author-notes">
<xsl:if test="fn[(@fn-type != 'con' and @fn-type != 'equal' and @fn-type != 'present-address')] | p | corresp">
<h2 id="author-notes">Author Information</h2>
<xsl:apply-templates select="p | corresp"/>
<xsl:apply-templates select="p | corresp | bio"/>
<xsl:call-template name="list-emails"/>
</xsl:if>
<xsl:if test="not(//back/fn-group/fn[@fn-type = 'con']) and (fn[@fn-type = 'con'] | fn[@fn-type = 'equal'] | //contrib[@equal-contrib = 'yes'])">
......@@ -2827,10 +2827,10 @@
<br/>
</xsl:template>
<xsl:template match="disp-quote">
<xsl:text disable-output-escaping="yes">&lt;blockquote class="disp-quote"&gt;</xsl:text>
<xsl:template match="disp-quote | verse-group">
<blockquote class="{local-name(.)}">
<xsl:apply-templates/>
<xsl:text disable-output-escaping="yes">&lt;/blockquote&gt;</xsl:text>
</blockquote>
</xsl:template>
<xsl:template match="code">
......@@ -2860,7 +2860,7 @@
<xsl:template match="
caption | table-wrap/table | table-wrap-foot | fn | bold | italic | underline | preformat | monospace |
styled-content | sub | sup | sec/title | ext-link | app/title | disp-formula | inline-formula | list | list-item | disp-quote | code" mode="testing">
styled-content | sub | sup | sec/title | ext-link | app/title | disp-formula | inline-formula | list | list-item | disp-quote | code | verse-group" mode="testing">
<xsl:apply-templates select="."/>
</xsl:template>
......@@ -3030,7 +3030,17 @@
<xsl:apply-templates select="p/* | p/text()"/>
</dd>
</xsl:template>
<xsl:template match="bio">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="verse-line">
<span style="display: block; text-indent: -1em; margin-left: 1em; ">
<xsl:apply-templates/>
</span>
</xsl:template>
<xsl:template match="*">
<xsl:apply-templates select="@* | node()"/>
</xsl:template>
......