Changes to templates to include e-mail as a link master
authorHarishankar <v.harishankar@gmail.com>
Sat, 10 Dec 2011 09:09:47 +0000 (14:39 +0530)
committerHarishankar <v.harishankar@gmail.com>
Sat, 10 Dec 2011 09:09:47 +0000 (14:39 +0530)
Changed templates to include the mailto: link to the e-mail
field.

templates/default_fodt/main.tpl
templates/default_fodt/profession_bit.tpl
templates/default_xhtml/main.tpl
templates/default_xhtml/profession_bit.tpl

index b628daa..311aa46 100644 (file)
       <table:table-cell table:style-name="Table1.A1" office:value-type="string">
        <text:p text:style-name="P1">${countrycode_landline} - ${landline}</text:p>
        <text:p text:style-name="P1">${countrycode_mobile} - ${mobile}</text:p>
       <table:table-cell table:style-name="Table1.A1" office:value-type="string">
        <text:p text:style-name="P1">${countrycode_landline} - ${landline}</text:p>
        <text:p text:style-name="P1">${countrycode_mobile} - ${mobile}</text:p>
-       <text:p text:style-name="P1">${email}</text:p>
+       <text:p text:style-name="P1"><text:a xlink:type="simple" xlink:href="mailto:${email}">${email}</text:a></text:p>
       </table:table-cell>
      </table:table-row>
     </table:table>
       </table:table-cell>
      </table:table-row>
     </table:table>
index 3957ce7..a27c4ad 100644 (file)
@@ -1,7 +1,7 @@
    <text:h text:style-name="Heading_20_2" text:outline-level="2">${joindate} - ${leavedate} (with ${organization})</text:h>
    <text:list xml:id="list1642598228" text:style-name="L5">
     <text:list-item>
    <text:h text:style-name="Heading_20_2" text:outline-level="2">${joindate} - ${leavedate} (with ${organization})</text:h>
    <text:list xml:id="list1642598228" text:style-name="L5">
     <text:list-item>
-     <text:p text:style-name="P3">Worked as <text:span text:style-name="T1">${jobtitle}</text:span></text:p>
+     <text:p text:style-name="P3"><text:span text:style-name="T1">Designation:</text:span> ${jobtitle}</text:p>
     </text:list-item>
     <text:list-item>
      <text:p text:style-name="P3">${additionalinfo}</text:p>
     </text:list-item>
     <text:list-item>
      <text:p text:style-name="P3">${additionalinfo}</text:p>
index c773269..229c479 100644 (file)
                </tr>
                <tr>
                        <td><b>Email address</b></td>
                </tr>
                <tr>
                        <td><b>Email address</b></td>
-                       <td>${email}</td>       
+                       <td><a href="mailto:${email}">${email}</a></td> 
                </tr>
        </table>
 
                </tr>
        </table>
 
index 52e5bec..8bab420 100644 (file)
@@ -1,3 +1,5 @@
        <h3>${joindate} - ${leavedate} (with ${organization})</h3>
        <h3>${joindate} - ${leavedate} (with ${organization})</h3>
-       <p>Worked as <b>${jobtitle}</b><br />
-       ${additionalinfo}</p>
\ No newline at end of file
+       <ul>
+       <li><b>Designation:</b> ${jobtitle}</li>
+       <li>${additionalinfo}</li>
+       </ul>
\ No newline at end of file