Skip to content

Commit a6a3fe3

Browse files
pkp/pkp-lib#10767 Fix upload button label, and layout bug
1 parent ed2f563 commit a6a3fe3

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/pages/dashboard/components/DashboardTable/CellSubmissionActivity/CellSubmissionActivityActionAlert.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
<template>
22
<div class="flex items-center gap-x-2">
33
<div v-if="alert">{{ alert }}</div>
4-
<PkpButton
5-
v-if="actionName"
6-
class="-ms-3"
7-
size-variant="compact"
8-
@click="handleAction"
9-
>
4+
<PkpButton v-if="actionName" size-variant="compact" @click="handleAction">
105
{{ actionLabel }}
116
</PkpButton>
127
</div>

src/pages/workflow/composables/useWorkflowConfig/workflowConfigAuthorOJS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export const WorkflowConfig = {
175175
component: 'WorkflowActionButton',
176176
props: {
177177
action: FileManagerActions.FILE_UPLOAD,
178-
label: t('dashboard.submitRevisions'),
178+
label: t('workflow.uploadRevisions'),
179179
actionArgs: {
180180
submissionId: submission.id,
181181
fileStage: pkp.const.SUBMISSION_FILE_REVIEW_REVISION,

src/pages/workflow/composables/useWorkflowConfig/workflowConfigAuthorOMP.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const WorkflowConfig = {
115115
component: 'WorkflowActionButton',
116116
props: {
117117
action: FileManagerActions.FILE_UPLOAD,
118-
label: t('dashboard.submitRevisions'),
118+
label: t('workflow.uploadRevisions'),
119119
actionArgs: {
120120
submissionId: submission.id,
121121
fileStage: pkp.const.SUBMISSION_FILE_INTERNAL_REVIEW_REVISION,

0 commit comments

Comments
 (0)