Skip to content

Commit a94d6b6

Browse files
committed
pkp/pkp-lib#9456 Rebase for private notes
1 parent c2aa1fe commit a94d6b6

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

src/components/ListPanel/users/SelectReviewerListItem.vue

+10
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,12 @@
193193
</div>
194194
<div v-html="item.gossip"></div>
195195
</list-item>
196+
<list-item v-if="item.privateNotes">
197+
<div class="listPanel__item--reviewer__detailHeading">
198+
{{ privateNotesLabel }}
199+
</div>
200+
<div v-html="item.privateNotes"></div>
201+
</list-item>
196202
<list-item v-if="localize(item.biography)">
197203
<div class="listPanel__item--reviewer__detailHeading">
198204
{{ biographyLabel }}
@@ -282,6 +288,10 @@ export default {
282288
type: String,
283289
required: true,
284290
},
291+
privateNotesLabel: {
292+
type: String,
293+
required: true,
294+
},
285295
item: {
286296
type: Object,
287297
required: true,

src/components/ListPanel/users/SelectReviewerListPanel.vue

+5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"
7878
:declined-reviews-label="declinedReviewsLabel"
7979
:gossip-label="gossipLabel"
80+
:private-notes-label="privateNotesLabel"
8081
:item="item"
8182
:never-assigned-label="neverAssignedLabel"
8283
:reassign-label="reassignLabel"
@@ -202,6 +203,10 @@ export default {
202203
type: String,
203204
required: true,
204205
},
206+
privateNotesLabel: {
207+
type: String,
208+
required: true,
209+
},
205210
id: {
206211
type: String,
207212
required: true,

src/docs/components/ListPanel/previews/PreviewSelectReviewerListPanel.vue

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
empty-label="No reviewers found"
1919
:filters="filters"
2020
gossip-label="Editorial Notes"
21+
private-notes-label="Editorial Private Notes"
2122
:items="items"
2223
:items-max="items.length"
2324
:last-round-reviewers="lastRoundReviewers"
@@ -72,6 +73,8 @@ export default {
7273
},
7374
gossip:
7475
"<p>Aisla is a terrific reviewer but she takes a while to confirm and complete a review. Recommend not using her if you're on a tight deadline.</p>",
76+
privateNotes:
77+
"<p>Keep this note private. Aisla is a terrific reviewer but she takes a while to confirm and complete a review. Recommend not using her if you're on a tight deadline.</p>",
7578
},
7679
{
7780
...reviewer,

src/docs/components/ListPanel/readme-select-reviewer.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
| `emptyLabel` | A localized string to display when there are no reviewers to show in the list. |
1919
| `filters` | An array [Filter](#/component/Filter)s. Default: `[]` |
2020
| `gossipLabel` | A localized string for the gossip section. |
21+
| `privateNotesLabel` | A localized string for the private notes section. |
2122
| `id` | A unique id for this component. |
2223
| `items` | An array of reviewers. Default: `[]` |
2324
| `itemsMax` | A count of all reviewers in the journal, press or preprint server. Default: `0` |

0 commit comments

Comments
 (0)