Commits

Zhang Huangbin committed 08daa4a

Sync.

Comments (0)

Files changed (3)

templates/default/mysql/domain/list.html

                                 {% endif %}
                             </td>
 
-                            {#-- Aliases --#}
-                            <td class="vcenter">
-                                {% if r.aliases > 0 %}
-                                    {% set percentOfNumberOfAliases = r.alias_count |getPercentage(r.aliases) %}
-
-                                    <a href="{{ctx.homepath}}/aliases/{{r.domain}}" title="{{ _('List all mail aliases.') }}" style="text-decoration: none;">{{ percentOfNumberOfAliases }}% <span class="grey">({{ r.alias_count }} {{ display_number_of_account_limited(r.aliases) }})</span></a>
-                                    {{ display_progress_bar(percentOfNumberOfAliases, style='thin') }}
-                                {% else %}
-                                    <a href="{{ctx.homepath}}/aliases/{{r.domain}}" title="{{ _('List all mail aliases.') }}" style="text-decoration: none;">{{ r.alias_count }}</a>
-                                {% endif %}
-                            </td>
                             <td class="vcenter">{{ r.created |setDatetimeFormat(hour=False) }}</td>
                         </tr>
                         {% endfor %}

templates/default/mysql/domain/profile.html

             (ctx.homepath + '/domains', _('All domains'),),
             (None, _('Profile of domain:') + '&nbsp;' + cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
-            (ctx.homepath + '/aliases/' + cur_domain, _('Aliases'),),
             ]
             %}
     {{ display_subnav(crumbs) }}

templates/default/mysql/user/create.html

             <div class="box-header clear">
                 <ul class="tabs clear">
                     <li><a href="{{ctx.homepath}}/users/{{cur_domain}}">{{ _('Users') }}</a></li>
-                    <li><a href="{{ctx.homepath}}/aliases/{{cur_domain}}">{{ _('Aliases') }}</a></li>
                     <li class="active"><a href="#user_add"><img src="{{ctx.homepath}}/static/{{skin}}/images/ico_add_12.png" /> {{ _('User') }}</a>
-                    <li><a href="{{ctx.homepath}}/create/alias/{{cur_domain}}"><img src="{{ctx.homepath}}/static/{{skin}}/images/ico_add_12.png" /> {{ _('Alias') }}</a>
                 </ul>
 
                 <h2>{{ _('Add user under domain:') }} {{cur_domain}}.</h2>