Smaller actions links on the users list pages
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 15 Aug 2010 06:35:03 +0000 (06:35 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 15 Aug 2010 06:35:03 +0000 (06:35 +0000)
bin/djais/templatetags/ais_extras.py
html_templates/users.html

index 3910a06e0450b28c48c1a0b0ae63428544e4e468..e478e8a00068bcaeb36e0d56ffbddf84023a91f8 100644 (file)
@@ -16,7 +16,7 @@ def format_user_tree(user, indentlevel=0):
         result += " <b>Account disabled: No password</b>"
     if user.admin_ok:
         result +="""
-<span style="font-size:80%%">
+<span style="font-size:60%%">
 <a href='%s/change_password'>change password</a> - <a href='%s/delete'>delete account</a>
 </span>""" % (escape(user.login), escape(user.login))
     result += " <br>\n"
index 4f7935185d7dcbc13b20387a4bff462bfa04385a..34cbad6e28e4b6c456061c99f7e56e1651de04e0 100644 (file)
@@ -17,7 +17,7 @@
 {%comment%}{% if auser.father %}sponsor: {{ auser.father }}{% endif %}{%endcomment%}
 {% if auser.password_hash %}{% else %}<b>Account disabled: No password</b>{% endif %}
 {% if auser.admin_ok %}
-<span style="font-size:80%">
+<span style="font-size:60%">
 <a href='{{auser.login}}/change_password'>change password</a> - <a href='{{auser.login}}/delete'>delete account</a>
 </span>
 {% endif %}