Mercurial > moin > 2.0
changeset 2463:66110f4792af
fixes display of item actions heading with a nonexistent item
author | sharky93 <rishabhr123@gmail.com> |
---|---|
date | Tue, 10 Sep 2013 01:00:11 +0530 |
parents | 142998f5e57f |
children | abd877320928 |
files | MoinMoin/themes/basic/templates/show.html |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/show.html Mon Sep 09 19:46:59 2013 +0530 +++ b/MoinMoin/themes/basic/templates/show.html Tue Sep 10 01:00:11 2013 +0530 @@ -55,9 +55,11 @@ Transclusions </span> </button> - - <div class="list-group-item"> {{ _("Item Actions") }} </div> - {{ self.item_actions() }} + + {% if item_actions %} + <div class="list-group-item"> {{ _("Item Actions") }} </div> + {{ self.item_actions() }} + {% endif %} </div> {% endblock %}