File tree Expand file tree Collapse file tree 6 files changed +8
-6
lines changed
pages/workflow/components/publication Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ window.pkp = {
694694 'publication.unschedule' : 'Unschedule' ,
695695 'publication.unschedule.confirm' :
696696 "Are you sure you don't want this scheduled for publication?" ,
697- 'publication.version' : 'Version {$version}' ,
697+ 'publication.version' : '{$version}' ,
698698 'publication.version.all' : 'All Versions' ,
699699 'publication.version.confirm' :
700700 '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 {
921921 return {
922922 id: publication .id ,
923923 isCurrentVersion: item .currentPublicationId === publication .id ,
924- versionNumber: publication .version ,
924+ versionNumber: publication .versionDataDisplay ,
925925 urlPublished: publication .urlPublished ,
926926 datePublished: publication .datePublished ,
927927 };
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default {
1919 originalItem .publications .forEach ((publication ) => {
2020 const isCurrentVersion =
2121 publication .id === this .getCurrentPublication (originalItem).id ;
22- const versionNumber = publication .version ;
22+ const versionNumber = publication .versionDataDisplay ;
2323
2424 if (this .enabledDoiTypes .includes (' publication' )) {
2525 let doiObject = publication .doiObject ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default {
1717 originalItem .publications .forEach ((publication ) => {
1818 const isCurrentVersion =
1919 publication .id === this .getCurrentPublication (originalItem).id ;
20- const versionNumber = publication .version ;
20+ const versionNumber = publication .versionDataDisplay ;
2121
2222 // Submissions
2323 if (this .enabledDoiTypes .includes (' publication' )) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default {
1717 originalItem .publications .forEach ((publication ) => {
1818 const isCurrentVersion =
1919 publication .id === this .getCurrentPublication (originalItem).id ;
20- const versionNumber = publication .version ;
20+ const versionNumber = publication .versionDataDisplay ;
2121
2222 // Submissions
2323 if (this .enabledDoiTypes .includes (' publication' )) {
Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ const statusProps = computed(() => {
7171});
7272
7373function getItemLabel (publication ) {
74- const firstPart = t (' publication.version' , {version: publication .version });
74+ const firstPart = t (' publication.version' , {
75+ version: publication .versionDataDisplay ,
76+ });
7577 let secondPart = ' ' ;
7678 if (
7779 publication .status === pkp .const .STATUS_QUEUED &&
You can’t perform that action at this time.
0 commit comments