diff --git a/mo/web/templates/org_orgs.html b/mo/web/templates/org_orgs.html index cfff4e6e3473c3c565ed4b60f22fc2ffcd377b6b..b7e2072edd7fe2ebba5f9608822316bd542c6017 100644 --- a/mo/web/templates/org_orgs.html +++ b/mo/web/templates/org_orgs.html @@ -57,7 +57,7 @@ {% endif %}</td> <td><div class='btn-group'> <a class="btn btn-xs btn-primary" href="{{ url_for('org_org', id=user.user_id) }}">Detail</a> - {% if can_edit and not user.is_admin %}<a class="btn btn-xs btn-default" href="{{ url_for('org_org_edit', id=user.user_id) }}">Edit</a>{% endif %} + {% if can_edit and (not user.is_admin or g.user.is_admin) %}<a class="btn btn-xs btn-default" href="{{ url_for('org_org_edit', id=user.user_id) }}">Edit</a>{% endif %} </div></td> </tr> {% endfor %}