1. Zhang Huangbin
  2. iredadmin-ose

Commits

Zhang Huangbin  committed 1dae8db

Don't show 'view/update domain profile' link while cur_domain is not defined.

  • Participants
  • Parent commits 6054e10
  • Branches default

Comments (0)

Files changed (1)

File templates/default/ldap/users.html

View file
 
 {% block id_visit_links %}
 <span><a href="{{ctx.homepath}}/create/user/{{cur_domain}}">{{ _('Create new mail user') }}</a></span>
+{% if cur_domain is defined %}
 <span><a href="{{ctx.homepath}}/profile/domain/general/{{cur_domain}}">{{ _('View/Update domain profile') }}</a></span>
+{% endif %}
 {% endblock id_visit_links %}
 
 {% block main %}