Announcement widget

MeganCox
Tera Contributor

Is there a way to change what the announcement widget says when there are no current announcements? Currently, ours states: No information available. We use this widget on our intranet page, so that doesn't exactly align with the end user experience, so I was just wondering. 

 

Thanks!

1 REPLY 1

CN-L
Tera Contributor

I've just cloned the announcements widget in a PDI and was successful.

 

Within the 'Body HTML template', locate the following:

 

<div ng-if="::(c.totalAnnouncements === 0)" class="empty-state-content panel-body">
<p>${No information available}</p>
</div>

 

Replace "No information available" with the text of your choice.

 

CNL_0-1769599085662.png