summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
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>