projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12d03b
)
Don't show moderation notes when adding a new field.
author
Dave Page
<dpage@pgadmin.org>
Tue, 2 Apr 2024 14:35:58 +0000
(15:35 +0100)
committer
Dave Page
<dpage@pgadmin.org>
Tue, 2 Apr 2024 14:35:58 +0000
(15:35 +0100)
hamnadmin/hamnadmin/register/templates/edit.html
patch
|
blob
|
blame
|
history
diff --git
a/hamnadmin/hamnadmin/register/templates/edit.html
b/hamnadmin/hamnadmin/register/templates/edit.html
index d39bc20fed48e3699ee4deb25edcce37d9e36729..63fceb25a1e36c83db19ac0f7b58997e5362e09b 100644
(file)
--- a/
hamnadmin/hamnadmin/register/templates/edit.html
+++ b/
hamnadmin/hamnadmin/register/templates/edit.html
@@
-33,7
+33,7
@@
</p>
{% endif %}{#not new#}
- {% if user.is_superuser %}
+ {% if user.is_superuser
and not new
%}
<h3>Moderator Notes</h3>
{% if notes %}
<table class="table table-condensed table-striped">
@@
-103,6
+103,7
@@
<h3>Edit</h3>
+{% endif %}
{% if form.errors %}
<div class="alert alert-danger">Please correct the errors below, and re-submit the form.</div>