FEATURE: add a banner when read-only mode is enabled
This commit is contained in:
parent
fee9870427
commit
e5a4dc6eac
|
@ -1,4 +1,9 @@
|
|||
<div class="container">
|
||||
{{#if Discourse.isReadOnly}}
|
||||
<div class="row">
|
||||
<div class="alert alert-info">{{i18n "read_only_mode.enabled"}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="row">
|
||||
<div class="full-width">
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{{customHTML "top"}}
|
||||
<div class='container'>
|
||||
{{customHTML "top"}}
|
||||
{{#if Discourse.isReadOnly}}
|
||||
<div class="alert alert-info">{{i18n "read_only_mode.enabled"}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class='list-controls'>
|
||||
<div class="container">
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{{customHTML "top"}}
|
||||
<div class='container'>
|
||||
{{customHTML "top"}}
|
||||
{{#if Discourse.isReadOnly}}
|
||||
<div class="alert alert-info">{{i18n "read_only_mode.enabled"}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#if postStream.loaded}}
|
||||
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
<div class='container'>
|
||||
{{customHTML "top"}}
|
||||
{{#if Discourse.isReadOnly}}
|
||||
<div class="alert alert-info">{{i18n "read_only_mode.enabled"}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#unless loading}}
|
||||
<div class="container">
|
||||
|
||||
|
|
Loading…
Reference in New Issue