mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
pad: Add a hook for the permission denied block
This makes it possible for the ep_readonly_guest plugin to add a login button.
This commit is contained in:
parent
92b295193f
commit
af7cd13787
1 changed files with 2 additions and 0 deletions
|
@ -91,11 +91,13 @@
|
|||
<div id="editorcontainer" class="editorcontainer"></div>
|
||||
|
||||
<div id="editorloadingbox">
|
||||
<% e.begin_block("permissionDenied"); %>
|
||||
<div id="permissionDenied">
|
||||
<p data-l10n-id="pad.permissionDenied" class="editorloadingbox-message">
|
||||
You do not have permission to access this pad
|
||||
</p>
|
||||
</div>
|
||||
<% e.end_block(); %>
|
||||
<% e.begin_block("loading"); %>
|
||||
<p data-l10n-id="pad.loading" id="loading" class="editorloadingbox-message">
|
||||
Loading...
|
||||
|
|
Loading…
Reference in a new issue