From 41d4ec419c8a4e060dc3320526147777b16140a6 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Sun, 1 Apr 2012 11:25:24 -0500 Subject: [PATCH] multi_user_mode links emails of other users --- VERSION | 2 +- applications/admin/views/default/site.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 637513db..595a5233 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-04-01 11:14:07) dev +Version 1.99.7 (2012-04-01 11:25:03) dev diff --git a/applications/admin/views/default/site.html b/applications/admin/views/default/site.html index 520f3780..f992d4de 100644 --- a/applications/admin/views/default/site.html +++ b/applications/admin/views/default/site.html @@ -14,7 +14,10 @@

{{else:}}

{{=A(a,_href=URL(a,'default','index'))}}

- {{if MULTI_USER_MODE and db.app(name=a):}}(created by {{="%(first_name)s %(last_name)s" % db.auth_user[db.app(name=a).owner]}}){{pass}} + {{if MULTI_USER_MODE and db.app(name=a):}}{{owner = db.auth_user[db.app(name=a).owner]}} + (created by {{="%(first_name)s %(last_name)s" % owner}} + <{{=A(owner.email, _href='mailto:%s' % owner.email)}}>) + {{pass}}

{{if not os.path.exists('applications/%s/compiled' % a):}} {{=sp_button(URL('design',args=a), T("Edit"))}}