File tree 6 files changed +8
-6
lines changed
pages/workflow/components/publication
6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ window.pkp = {
694
694
'publication.unschedule' : 'Unschedule' ,
695
695
'publication.unschedule.confirm' :
696
696
"Are you sure you don't want this scheduled for publication?" ,
697
- 'publication.version' : 'Version {$version}' ,
697
+ 'publication.version' : '{$version}' ,
698
698
'publication.version.all' : 'All Versions' ,
699
699
'publication.version.confirm' :
700
700
'Are you sure you want to create a new version?' ,
Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ export default {
921
921
return {
922
922
id: publication .id ,
923
923
isCurrentVersion: item .currentPublicationId === publication .id ,
924
- versionNumber: publication .version ,
924
+ versionNumber: publication .versionDataDisplay ,
925
925
urlPublished: publication .urlPublished ,
926
926
datePublished: publication .datePublished ,
927
927
};
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default {
19
19
originalItem .publications .forEach ((publication ) => {
20
20
const isCurrentVersion =
21
21
publication .id === this .getCurrentPublication (originalItem).id ;
22
- const versionNumber = publication .version ;
22
+ const versionNumber = publication .versionDataDisplay ;
23
23
24
24
if (this .enabledDoiTypes .includes (' publication' )) {
25
25
let doiObject = publication .doiObject ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default {
17
17
originalItem .publications .forEach ((publication ) => {
18
18
const isCurrentVersion =
19
19
publication .id === this .getCurrentPublication (originalItem).id ;
20
- const versionNumber = publication .version ;
20
+ const versionNumber = publication .versionDataDisplay ;
21
21
22
22
// Submissions
23
23
if (this .enabledDoiTypes .includes (' publication' )) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default {
17
17
originalItem .publications .forEach ((publication ) => {
18
18
const isCurrentVersion =
19
19
publication .id === this .getCurrentPublication (originalItem).id ;
20
- const versionNumber = publication .version ;
20
+ const versionNumber = publication .versionDataDisplay ;
21
21
22
22
// Submissions
23
23
if (this .enabledDoiTypes .includes (' publication' )) {
Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ const statusProps = computed(() => {
71
71
});
72
72
73
73
function getItemLabel (publication ) {
74
- const firstPart = t (' publication.version' , {version: publication .version });
74
+ const firstPart = t (' publication.version' , {
75
+ version: publication .versionDataDisplay ,
76
+ });
75
77
let secondPart = ' ' ;
76
78
if (
77
79
publication .status === pkp .const .STATUS_QUEUED &&
You can’t perform that action at this time.
0 commit comments