[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim] kaddressbook/printing/grantlee/themes/full: Now we can display photo too :)
From:       Montel Laurent <montel () kde ! org>
Date:       2014-04-02 6:38:01
Message-ID: E1WVEoD-0007qg-V5 () scm ! kde ! org
[Download RAW message or body]

Git commit d9589d5fcfb6abbd41cc77a416cdba40e2b84e41 by Montel Laurent.
Committed on 02/04/2014 at 06:37.
Pushed by mlaurent into branch 'master'.

Now we can display photo too :)

M  +3    -1    kaddressbook/printing/grantlee/themes/full/theme.html

http://commits.kde.org/kdepim/d9589d5fcfb6abbd41cc77a416cdba40e2b84e41

diff --git a/kaddressbook/printing/grantlee/themes/full/theme.html \
b/kaddressbook/printing/grantlee/themes/full/theme.html index 4582f02..f4474ba 100644
--- a/kaddressbook/printing/grantlee/themes/full/theme.html
+++ b/kaddressbook/printing/grantlee/themes/full/theme.html
@@ -31,8 +31,10 @@
 {% for contact in contacts %}
 <div class=name>{{ contact.name }}</div>
 <div class=last_extra_name>{{ contact.realName|safe }}</div>
-
 <table cellpadding=0>
+  <tr>
+   <td class=data_header>{{ contact.photo|safe }}</td>
+  </tr>
   {% if contact.emails %}
   <tr>
    <td class=data_header>{{ contacti18n.emailsi18n }}</td>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic