summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-07-09 19:59:35 +0100
committerGreg Roach <fisharebest@gmail.com>2015-07-09 19:59:48 +0100
commit9152e6f4a92fd869ef51e0e6d1d55eb974c26232 (patch)
treee6269df316da7c53619c305702152ba3a7d62d2f
parent379499761e3e9f656d0322b39a5667193b4338a3 (diff)
downloadwebtrees-9152e6f4a92fd869ef51e0e6d1d55eb974c26232.tar.gz
webtrees-9152e6f4a92fd869ef51e0e6d1d55eb974c26232.tar.bz2
webtrees-9152e6f4a92fd869ef51e0e6d1d55eb974c26232.zip
Fix #446 - Add individual photos to family report
-rw-r--r--modules_v3/family_group_report/report.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules_v3/family_group_report/report.xml b/modules_v3/family_group_report/report.xml
index 8ee92d26b2..b711c1e97e 100644
--- a/modules_v3/family_group_report/report.xml
+++ b/modules_v3/family_group_report/report.xml
@@ -139,6 +139,9 @@
<!-- Print the husband -->
<Gedcom id="@HUSB">
+ <if condition="$photos==1">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
<!-- print the name and any level 1 sources -->
<TextBox bgcolor="$malebox_bgcolor" border="1" width="$width" newline="1">
<Text color="$tcolor" style="text"><var var="I18N::translate('Husband')" /> </Text>
@@ -490,6 +493,9 @@
<!-- Print the wife -->
<Gedcom id="@WIFE">
+ <if condition="$photos==1">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
<!-- print the name and sources -->
<TextBox bgcolor="$femalebox_bgcolor" border="1" width="$width" newline="1">
<Text color="$tcolor" style="text"><var var="I18N::translate('Wife')" /> </Text>
@@ -759,6 +765,9 @@
<!-- find and print all of the children in the family -->
<RepeatTag tag="CHIL">
<Gedcom id="@CHIL">
+ <if condition="$photos==1">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
<!-- Print the male child's name -->
<if condition="@SEX=='M'">
<TextBox bgcolor="$malebox_bgcolor" border="1" left="15" newline="1" width="$width1">