Project import generated by Copybara.
GitOrigin-RevId: d9e9e3fb4e31372ec1fb43b178994ca78fa8fe70
diff --git a/templates/framework/read-only-rejection.ezt b/templates/framework/read-only-rejection.ezt
new file mode 100644
index 0000000..3147d9a
--- /dev/null
+++ b/templates/framework/read-only-rejection.ezt
@@ -0,0 +1,10 @@
+<span style="color:#a30">
+ [if-any site_read_only]
+ This operation cannot be done when the site is read-only.
+ Please come back later.
+ [else]
+ [if-any project_read_only]
+ READ-ONLY
+ [end]
+ [end]
+</span>