最近の検索
最近の検索はありません
Change text for "My Activities" in HC
投稿日時:2024年3月14日
Is it still possible to adjust the text that is on the drop down menu and change the text from My Activities to My Requests
Tried both and added them to script.js but no luck so far
//Change string for My Activities
$('.user-nav .my-activities').html(' See my requests');
$('.sub-nav').find('li').filter(":last");
and
//Change string for My Activities
$('.nav-wrapper .dropdown-menu .my-activities').html('My Requests');
$('.sub-nav').find('li').filter(":last");
0
2
2件のコメント
Jakub
I used this javascript to update my dropdown title:

document.addEventListener('DOMContentLoaded', function() {
var link = document.querySelector('a.requests-link[role="menuitem"]');
if (link) {
link.innerHTML = 'Updated Requests';
}
});
If you have a public help center page and would share the link, I could have a look if I can apply this principle for your title.
0
C A
Hi Jakub
I've managed to by adding this at the end of the script.js
0