invite: Use help_link_widget in guest visible users message.

In the guest visible users message, replace the manual help
link implementation with Zulip’s `help_link_widget` template
to reduce code duplication and improve maintainability.

Follow-up to commit 3b1877e.
This commit is contained in:
Aditya Kumar Kasaudhan 2024-10-16 10:58:55 +05:30 committed by Tim Abbott
parent 3b1877ea99
commit c0ee9c500a
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,4 @@
<p id="guest_visible_users_message">
{{t 'Guests will be able to see {user_count} users in their channels when they join.'}}
<a id="guest_help_link" class="help_link_widget" href="/help/guest-users#configure-whether-guests-can-see-all-other-users" target="_blank" rel="noopener noreferrer">
<i class="fa fa-question-circle-o" aria-hidden="true"></i>
</a>
{{> help_link_widget link="/help/guest-users#configure-whether-guests-can-see-all-other-users" }}
</p>