Skip to content

Commit 8cdb82d

Browse files
committed
pkp/pkp-lib#9456 Refactor for private notes
1 parent 023b1c3 commit 8cdb82d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/components/ListPanel/users/SelectReviewerListItem.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@
193193
</div>
194194
<div v-html="item.gossip"></div>
195195
</list-item>
196-
<list-item v-if="item.privateNotes">
196+
<list-item v-if="item.userPrivateNote">
197197
<div class="listPanel__item--reviewer__detailHeading">
198-
{{ privateNotesLabel }}
198+
{{ userPrivateNotesLabel }}
199199
</div>
200-
<div v-html="item.privateNotes"></div>
200+
<div v-html="item.userPrivateNote"></div>
201201
</list-item>
202202
<list-item v-if="localize(item.biography)">
203203
<div class="listPanel__item--reviewer__detailHeading">
@@ -288,7 +288,7 @@ export default {
288288
type: String,
289289
required: true,
290290
},
291-
privateNotesLabel: {
291+
userPrivateNotesLabel: {
292292
type: String,
293293
required: true,
294294
},

src/components/ListPanel/users/SelectReviewerListPanel.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"
7777
:declinedReviewsLabel="declinedReviewsLabel"
7878
:gossipLabel="gossipLabel"
79-
:privateNotesLabel="privateNotesLabel"
79+
:userPrivateNotesLabel="userPrivateNotesLabel"
8080
:key="item.id"
8181
:item="item"
8282
:neverAssignedLabel="neverAssignedLabel"
@@ -203,7 +203,7 @@ export default {
203203
type: String,
204204
required: true,
205205
},
206-
privateNotesLabel: {
206+
userPrivateNotesLabel: {
207207
type: String,
208208
required: true,
209209
},

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
emptyLabel="No reviewers found"
1818
:filters="filters"
1919
gossipLabel="Editorial Public Notes"
20-
privateNotesLabel="Editorial Private Notes"
20+
userPrivateNotesLabel="Editorial Private Notes"
2121
id="previewSelectReviewerListPanel"
2222
:items="items"
2323
:itemsMax="items.length"
@@ -73,7 +73,7 @@ export default {
7373
},
7474
gossip:
7575
"<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:
76+
userPrivateNote:
7777
"<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>",
7878
},
7979
{

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +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. |
21+
| `userPrivateNotesLabel` | A localized string for the private notes section. |
2222
| `id` | A unique id for this component. |
2323
| `items` | An array of reviewers. Default: `[]` |
2424
| `itemsMax` | A count of all reviewers in the journal, press or preprint server. Default: `0` |

0 commit comments

Comments
 (0)