Skip to content

Commit

Permalink
pkp/pkp-lib#9456 Add user prefix to private notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nibou230 committed Nov 30, 2023
1 parent a94d6b6 commit 6c70373
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/components/ListPanel/users/SelectReviewerListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@
</div>
<div v-html="item.gossip"></div>
</list-item>
<list-item v-if="item.privateNotes">
<list-item v-if="item.userPrivateNote">
<div class="listPanel__item--reviewer__detailHeading">
{{ privateNotesLabel }}
{{ userPrivateNotesLabel }}
</div>
<div v-html="item.privateNotes"></div>
<div v-html="item.userPrivateNote"></div>
</list-item>
<list-item v-if="localize(item.biography)">
<div class="listPanel__item--reviewer__detailHeading">
Expand Down Expand Up @@ -288,7 +288,7 @@ export default {
type: String,
required: true,
},
privateNotesLabel: {
userPrivateNotesLabel: {
type: String,
required: true,
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/ListPanel/users/SelectReviewerListPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"
:declined-reviews-label="declinedReviewsLabel"
:gossip-label="gossipLabel"
:private-notes-label="privateNotesLabel"
:user-private-notes-label="userPrivateNotesLabel"
:item="item"
:never-assigned-label="neverAssignedLabel"
:reassign-label="reassignLabel"
Expand Down Expand Up @@ -203,7 +203,7 @@ export default {
type: String,
required: true,
},
privateNotesLabel: {
userPrivateNotesLabel: {
type: String,
required: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
empty-label="No reviewers found"
:filters="filters"
gossip-label="Editorial Notes"
private-notes-label="Editorial Private Notes"
user-private-notes-label="Editorial Private Notes"
:items="items"
:items-max="items.length"
:last-round-reviewers="lastRoundReviewers"
Expand Down Expand Up @@ -73,7 +73,7 @@ export default {
},
gossip:
"<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>",
privateNotes:
userPrivateNote:
"<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>",
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/docs/components/ListPanel/readme-select-reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
| `emptyLabel` | A localized string to display when there are no reviewers to show in the list. |
| `filters` | An array [Filter](#/component/Filter)s. Default: `[]` |
| `gossipLabel` | A localized string for the gossip section. |
| `privateNotesLabel` | A localized string for the private notes section. |
| `userPrivateNotesLabel` | A localized string for the private notes section. |
| `id` | A unique id for this component. |
| `items` | An array of reviewers. Default: `[]` |
| `itemsMax` | A count of all reviewers in the journal, press or preprint server. Default: `0` |
Expand Down

0 comments on commit 6c70373

Please sign in to comment.