mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
We use different text for guest users, specifying that they can only search in channels they can view. The issue description suggests the same for spectators, but we already use different text for them. The search-operators help overlay is also updated with the same. Fixes #30902
38 lines
1.5 KiB
Handlebars
38 lines
1.5 KiB
Handlebars
<div class="history-limited-box">
|
|
<p>
|
|
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
|
{{#tr}}
|
|
Some older messages are unavailable.
|
|
<z-link>Upgrade your organization</z-link>
|
|
to access your full message history.
|
|
{{#*inline "z-link"}}<a href="/plans/" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
|
|
{{/tr}}
|
|
</p>
|
|
</div>
|
|
<div class="all-messages-search-caution hidden-for-spectators" hidden>
|
|
<p>
|
|
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
|
{{#tr}}
|
|
End of results from your
|
|
<z-link>history</z-link>.
|
|
{{#*inline "z-link"}}<a href="/help/search-for-messages#searching-shared-history"
|
|
target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
|
|
{{/tr}}
|
|
|
|
<span>
|
|
{{#if is_guest}}
|
|
{{#tr}}
|
|
Consider <z-link>searching all public channels that you can view</z-link>.
|
|
{{#*inline "z-link"}}<a class="search-shared-history" href="">{{> @partial-block}}</a>{{/inline}}
|
|
{{/tr}}
|
|
{{else}}
|
|
{{#tr}}
|
|
Consider <z-link>searching all public channels</z-link>.
|
|
{{#*inline "z-link"}}<a class="search-shared-history" href="">{{> @partial-block}}</a>{{/inline}}
|
|
{{/tr}}
|
|
{{/if}}
|
|
</span>
|
|
</p>
|
|
</div>
|
|
<div class="empty_feed_notice_main"></div>
|