diff options
author | thomascube <thomas@roundcube.net> | 2011-07-26 17:21:26 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-07-26 17:21:26 +0000 |
commit | da89cf293753cfbfbe1f6cedcbb5a5d22aed45db (patch) | |
tree | 05dfe4390506fdf579c1c9944d8727e5d356980e /skins | |
parent | 210438a6be905b25991a88c28fcbfbfa09ad0034 (diff) |
Always show address book name if multiple books are configured; fix styling
Diffstat (limited to 'skins')
-rw-r--r-- | skins/default/addressbook.css | 2 | ||||
-rw-r--r-- | skins/default/templates/contactadd.html | 6 | ||||
-rw-r--r-- | skins/default/templates/contactedit.html | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/skins/default/addressbook.css b/skins/default/addressbook.css index 63c60c08a..69b913e84 100644 --- a/skins/default/addressbook.css +++ b/skins/default/addressbook.css @@ -390,5 +390,5 @@ fieldset.contactfieldgroup legend { color: #666; font-size: 10px; - margin-left: 2px; + margin: -5px 0 8px 2px; } diff --git a/skins/default/templates/contactadd.html b/skins/default/templates/contactadd.html index 305940afd..67b7bcd6e 100644 --- a/skins/default/templates/contactadd.html +++ b/skins/default/templates/contactadd.html @@ -10,9 +10,9 @@ <div id="contact-title" class="boxtitle"><roundcube:label name="addcontact" /></div> <div id="contact-details" class="boxcontent"> <form name="editform" method="post" action="./"> - <div id="sourcename" style="height: 20px"> - <roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" /> - </div> + <roundcube:if condition="strlen(env:sourcename)" /> + <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" /></div> + <roundcube:endif /> <div id="contactphoto"> <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" /> <div class="formlinks"> diff --git a/skins/default/templates/contactedit.html b/skins/default/templates/contactedit.html index 681201caa..77e466141 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"> |