From da89cf293753cfbfbe1f6cedcbb5a5d22aed45db Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 26 Jul 2011 13:21:26 -0400
Subject: [PATCH] Always show address book name if multiple books are configured; fix styling

---
 skins/default/templates/contactedit.html |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/skins/default/templates/contactedit.html b/skins/default/templates/contactedit.html
index 681201c..77e4661 100644
--- a/skins/default/templates/contactedit.html
+++ b/skins/default/templates/contactedit.html
@@ -10,6 +10,9 @@
 <div id="contact-title" class="boxtitle"><roundcube:label name="editcontact" /></div>
 <div id="contact-details" class="boxcontent">
 <form name="editform" method="post" action="./">
+  <roundcube:if condition="strlen(env:sourcename)" />
+    <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:var name="env:sourcename" /></div>
+  <roundcube:endif />
   <div id="contactphoto">
     <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" />
     <div class="formlinks">

--
Gitblit v1.9.1