Topic: [SOLVED] Feature Request / Tip
Hi!
iRedAdmin-Pro Ldap v1.6.1, ubuntu 11.04.
Basically all my users have unlimited quota, but, I'd like to be able to see each user usage.
I made this modification myself, but it I think that it could be useful for most users.
My modifications:
Diff file: iRedAdmin-Pro-LDAP-1.6.1/templates/default/ldap/user/list.html
103c103,107
< <td class="vcenter">{{ _('Unlimited') }}</td>
---
> {% if session.get('enableShowUsedQuota') is sameas true %}
> <td class="vcenter">{{ usedQuota |filesizeformat }} / {{ _('Unlimited') }}</td>
> {% else %}
> <td class="vcenter">{{ _('Unlimited') }}</td>
> {% endif %}
The change is shown in the attachment.
Also I have a tip to users that have a large user base.
For example, in the User list page the HTML that the iRedAdmin-Pro generates has a lot boilerplate chars, this is normal because all the templates are formated and structured to easy maintainability, but in the daily basis the excess of whitespaces, etc, can be significant.
To minimize this I installed in my Apache2 the Google PageSpeed module. This module rewrite the page output(After all processing by Python) and minifies it, reducing the final file size.
More information can be found at: http://code.google.com/speed/page-speed … g_mod.html
Thanks again for this amazing tool!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.