mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
demo-orgs: Hide setup tips in invite modal if email not set.
In the invite users modal, if the demo organization owner hasn't yet added an email to their account, hide the banners with tips for setting up organization information before inviting users.
This commit is contained in:
committed by
Tim Abbott
parent
9d3279caf4
commit
9a2f4c7e15
@@ -1,5 +1,5 @@
|
||||
<form id="invite-user-form">
|
||||
<div class="setup-tips-container {{#unless is_admin}}hide{{/unless}}"></div>
|
||||
<div class="setup-tips-container {{#unless (and is_admin user_has_email_set)}}hide{{/unless}}"></div>
|
||||
{{#if development_environment}}
|
||||
<div class="alert" id="dev_env_msg"></div>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user