From af7cd13787507cb66c8eff5024e965af6f2dd041 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Fri, 27 Nov 2020 22:41:17 -0500 Subject: [PATCH] pad: Add a hook for the permission denied block This makes it possible for the ep_readonly_guest plugin to add a login button. --- src/templates/pad.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/templates/pad.html b/src/templates/pad.html index 28d53c43d..5aa38f1a6 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -91,11 +91,13 @@
+ <% e.begin_block("permissionDenied"); %>

You do not have permission to access this pad

+ <% e.end_block(); %> <% e.begin_block("loading"); %>

Loading...