Commits

Zhang Huangbin committed 0e42c22

Fixed: Incorrect link in sub-navication bar in account profile page.

Comments (0)

Files changed (10)

+= 0.3.4 =
+    * Fixed issues:
+        - Incorrect link in sub-navication bar in account profile page.
+
 = 0.3.3 =
     * Fixed issues:
         - Not remove unused SQL columns for MySQL/PostgreSQL backends.

templates/default/ldap/admin/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/admins', _('All admins'),),
-            (None, _('Profile of admin:') + ' ' + mail,),
+            ('active', ctx.homepath + '/profile/admin/general/' + mail, _('Profile of admin:') + ' ' + mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}

templates/default/ldap/domain/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/domains', _('All domains'),),
-            (None, _('Profile of domain:') + ' ' + cur_domain,),
+            ('active', ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
             ]
             %}

templates/default/ldap/user/profile.html

             (ctx.homepath + '/domains', _('All domains'),),
             (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
-            (None, _('Profile of user:') + ' ' + mail,),
+            ('active', ctx.homepath + '/profile/user/general/' + mail, _('Profile of user:') + ' ' + mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}

templates/default/mysql/admin/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/admins', _('All admins')),
-            (None, mail),
+            ('active', ctx.homepath + '/profile/admin/general/' + mail, mail),
             ]
             %}
     {{ display_subnav(crumbs) }}

templates/default/mysql/domain/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/domains', _('All domains'),),
-            (None, _('Profile of domain:') + ' ' + cur_domain,),
+            ('active', ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
             ]
             %}

templates/default/mysql/user/profile.html

             (ctx.homepath + '/domains', _('All domains'),),
             (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
-            (None, _('Profile of user:') + ' ' + mail,),
+            ('active', ctx.homepath + '/profile/user/general/' + mail, _('Profile of user:') + ' ' + mail),
             ]
             %}
     {{ display_subnav(crumbs) }}

templates/default/pgsql/admin/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/admins', _('All admins')),
-            (None, mail),
+            ('active', ctx.homepath + '/profile/admin/general/' + mail, mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}

templates/default/pgsql/domain/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/domains', _('All domains'),),
-            (None, _('Profile of domain:') + ' ' + cur_domain,),
+            ('active', ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
             ]
             %}

templates/default/pgsql/user/profile.html

             (ctx.homepath + '/domains', _('All domains'),),
             (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
-            (None, _('Profile of user:') + ' ' + mail,),
+            ('active', ctx.homepath + '/profile/user/general/' + mail, _('Profile of user:') + ' ' + mail),
             ]
             %}
     {{ display_subnav(crumbs) }}