Skip to content

Commit

Permalink
file: add translation for edit student data link in person view modal…
Browse files Browse the repository at this point in the history
… and add border-bottom to it
  • Loading branch information
bitsofshiva committed Feb 11, 2025
1 parent 7059adf commit 82e3f47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/i18n/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,6 @@
"doc-modal-storage-purpose-deletion":"Speicherzweck",
"doc-modal-recommended-deletion":"Empfohlene Löschfrist",
"doc-modal-delete-document":"Löschen",
"doc-modal-edit-document":"Dokumentinformationen bearbeiten"
"doc-modal-edit-document":"Dokumentinformationen bearbeiten",
"Edit-student-data":"Daten bearbeiten"
}
3 changes: 2 additions & 1 deletion src/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,6 @@
"doc-modal-storage-purpose-deletion":"Purpose of storage",
"doc-modal-recommended-deletion":"Recommended deletion",
"doc-modal-delete-document":"Delete",
"doc-modal-edit-document":"Edit document details"
"doc-modal-edit-document":"Edit document details",
"Edit-student-data":"Edit student data"
}
7 changes: 4 additions & 3 deletions src/objectTypes/person.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ class CabinetViewElement extends BaseViewElement {
color: var(--dbp-content);
cursor: pointer;
text-decoration: none;
border-bottom: var(--dbp-border);
}
`;
}
Expand All @@ -556,11 +557,11 @@ class CabinetViewElement extends BaseViewElement {
</div>
<div class="sync-tu-button">
<a href="${hit.person.coUrl}" no-spinner-on-click class="links">
<dbp-icon title='${i18n.t('TUGO')}'
aria-label='${i18n.t('TUGO')}'
<dbp-icon title='${i18n.t('Edit-student-data')}'
aria-label='${i18n.t('Edit-student-data')}'
name='link'>
</dbp-icon>
TUGO
${i18n.t('Edit-student-data')}
</a>
</div>
</div>
Expand Down

0 comments on commit 82e3f47

Please sign in to comment.