projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318391a
)
Don't show empty list of moderation items
author
Magnus Hagander
<magnus@hagander.net>
Wed, 17 Aug 2011 17:51:15 +0000
(19:51 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Wed, 17 Aug 2011 17:51:15 +0000
(19:51 +0200)
templates/account/index.html
patch
|
blob
|
blame
|
history
diff --git
a/templates/account/index.html
b/templates/account/index.html
index 0dfaa23c10f0806e7542284aeae5e299440271cc..d7ad20b21ddd658475e0af07ab445e3c91b9bfd6 100644
(file)
--- a/
templates/account/index.html
+++ b/
templates/account/index.html
@@
-33,6
+33,7
@@
please contact <a href="webmaster@postgresql.org">webmaster@postgresql.org</a>
and let us know which objects to connect together.
</p>
+{%if newsarticles or events or organisations or products %}
<h2>Submissions awaiting moderation</h2>
<p>
You have submitted the following objects that are still waiting moderator
@@
-75,5
+76,7
@@
approval before they are published:
</ul>
{%endif%}
+{%endif%}
+
{%endblock%}