summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-16 12:20:19 +0000
committeralecpl <alec@alec.pl>2011-06-16 12:20:19 +0000
commitcc90ed1f84174a89039feb6906775778e0c4eb18 (patch)
tree24984caa4b857dffb84a12ac3cde73bb967c466b /skins
parent1a034323fc7cefc8dd0283ae9d1a83ce3abbaf0a (diff)
- Add addressbook name in contact info frame (#1487958)
Diffstat (limited to 'skins')
-rw-r--r--skins/default/addressbook.css7
-rw-r--r--skins/default/templates/contact.html4
2 files changed, 11 insertions, 0 deletions
diff --git a/skins/default/addressbook.css b/skins/default/addressbook.css
index 18939b9fe..e06cfd089 100644
--- a/skins/default/addressbook.css
+++ b/skins/default/addressbook.css
@@ -384,3 +384,10 @@ fieldset.contactfieldgroup legend
{
padding: 2px;
}
+
+#sourcename
+{
+ color: #666;
+ font-size: 10px;
+ margin-left: 2px;
+}
diff --git a/skins/default/templates/contact.html b/skins/default/templates/contact.html
index 084664e9d..d74a78b27 100644
--- a/skins/default/templates/contact.html
+++ b/skins/default/templates/contact.html
@@ -9,6 +9,10 @@
<div id="contact-title" class="boxtitle"><roundcube:label name="contactproperties" /></div>
<div id="contact-details" class="boxcontent">
+ <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>
<roundcube:object name="contacthead" id="contacthead" />
<div style="clear:both"></div>