Changeset - 037295a8846d
[Not reviewed]
default
0 2 0
Thomas De Schampheleire - 8 years ago 2018-02-03 17:10:58
thomas.de_schampheleire@nokia.com
HTML email templates: Outlook: center action button

The rendering of HTML emails in Outlook is very restricted and based on old
Internet Explorer versions (more or less the same rendering as in Microsoft
Word). To make the Kallithea emails look the same as in the browser, some
adaptations are needed.

One of the problems is that the action button is not centered.
An extra <center> tag solves this issue.
2 files changed with 32 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/email_templates/button.html
Show inline comments
 
<%page args="url,title='',padding_top=True,padding_bottom=True" />\
 
##<!-- button -->
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    %if padding_top:
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    %endif
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px ${color_button}">
 
            <a href="${url}" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="${sans_style};font-weight:700;font-size:15px;line-height:14px;color:${color_button};white-space:nowrap;vertical-align:middle">${_(title)}</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
    %if padding_bottom:
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    %endif
 
</table>
 
</center>
 
##<!-- /button -->
kallithea/tests/models/test_dump_html_mails.ref.html
Show inline comments
 
@@ -105,64 +105,66 @@ View Comment: http://comment.org
 
        </td>
 
    </tr>
 
    <tr>
 
        <td height="30px"></td>
 
    </tr>
 
    <tr>
 
        <td>
 
            <div>
 
                Changeset on
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="repo_target">repo_target</a>
 
                branch
 
                <span style="color:#395fa0">brunch</span>:
 
            </div>
 
            <div>
 
                "<a style="color:#395fa0;text-decoration:none"
 
                   href="http://changeset.com">This changeset did something clever which is hard to explain</a>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://comment.org" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>cs_comment, is_mention=True, status_change=None</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Comment] repo/name changeset cafe1234 "This changeset did something cl..." on brunch
 
</pre>
 
@@ -262,64 +264,66 @@ View Comment: http://comment.org
 
        </td>
 
    </tr>
 
    <tr>
 
        <td height="30px"></td>
 
    </tr>
 
    <tr>
 
        <td>
 
            <div>
 
                Changeset on
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="repo_target">repo_target</a>
 
                branch
 
                <span style="color:#395fa0">brunch</span>:
 
            </div>
 
            <div>
 
                "<a style="color:#395fa0;text-decoration:none"
 
                   href="http://changeset.com">This changeset did something clever which is hard to explain</a>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://comment.org" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>cs_comment, is_mention=False, status_change='Approved'</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Approved: Comment] repo/name changeset cafe1234 "This changeset did something cl..." on brunch
 
</pre>
 
@@ -437,64 +441,66 @@ View Comment: http://comment.org
 
        </td>
 
    </tr>
 
    <tr>
 
        <td height="30px"></td>
 
    </tr>
 
    <tr>
 
        <td>
 
            <div>
 
                Changeset on
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="repo_target">repo_target</a>
 
                branch
 
                <span style="color:#395fa0">brunch</span>:
 
            </div>
 
            <div>
 
                "<a style="color:#395fa0;text-decoration:none"
 
                   href="http://changeset.com">This changeset did something clever which is hard to explain</a>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://comment.org" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>cs_comment, is_mention=True, status_change='Approved'</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Approved: Comment] repo/name changeset cafe1234 "This changeset did something cl..." on brunch
 
</pre>
 
@@ -612,64 +618,66 @@ View Comment: http://comment.org
 
        </td>
 
    </tr>
 
    <tr>
 
        <td height="30px"></td>
 
    </tr>
 
    <tr>
 
        <td>
 
            <div>
 
                Changeset on
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="repo_target">repo_target</a>
 
                branch
 
                <span style="color:#395fa0">brunch</span>:
 
            </div>
 
            <div>
 
                "<a style="color:#395fa0;text-decoration:none"
 
                   href="http://changeset.com">This changeset did something clever which is hard to explain</a>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://comment.org" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>message</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: Test Message
 
</pre>
 
@@ -814,64 +822,66 @@ View User Profile: http://newbie.org
 
    <tr>
 
        <td height="10px" colspan="2"></td>
 
    </tr>
 
    <tr>
 
        <td>
 
            Full Name:
 
        </td>
 
        <td style="color:#395fa0">
 
            New Full Name
 
        </td>
 
    </tr>
 
    <tr>
 
        <td height="10px" colspan="2"></td>
 
    </tr>
 
    <tr>
 
        <td>
 
            Email:
 
        </td>
 
        <td style="color:#395fa0">
 
            new@email.com
 
        </td>
 
    </tr>
 
    <tr>
 
        <td colspan="2">
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://newbie.org" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View User Profile</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request, is_mention=False</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Review] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -987,64 +997,66 @@ View Pull Request: http://pr.org/7
 
        </td>
 
    </tr>
 
    <tr><td height="10px"></td></tr>
 

	
 
    <tr>
 
        <td style="font-family:Helvetica,Arial,sans-serif">
 
            <ul style="color:#395fa0;padding-left:15px;margin:0">
 
                    <li>
 
                        <a style="color:#395fa0;text-decoration:none"
 
                           href="http://changeset_home/?repo_name=repo_org&amp;revision=123abc123abc123abc123abc123abc123abc123abc">
 
                            Introduce one and two
 
                        </a>
 
                    </li>
 
                    <li>
 
                        <a style="color:#395fa0;text-decoration:none"
 
                           href="http://changeset_home/?repo_name=repo_org&amp;revision=567fed567fed567fed567fed567fed567fed567fed">
 
                            Make one plus two equal tree
 
                        </a>
 
                    </li>
 
            </ul>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/7" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Pull Request</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request, is_mention=True</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Review] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -1160,64 +1172,66 @@ View Pull Request: http://pr.org/7
 
        </td>
 
    </tr>
 
    <tr><td height="10px"></td></tr>
 

	
 
    <tr>
 
        <td style="font-family:Helvetica,Arial,sans-serif">
 
            <ul style="color:#395fa0;padding-left:15px;margin:0">
 
                    <li>
 
                        <a style="color:#395fa0;text-decoration:none"
 
                           href="http://changeset_home/?repo_name=repo_org&amp;revision=123abc123abc123abc123abc123abc123abc123abc">
 
                            Introduce one and two
 
                        </a>
 
                    </li>
 
                    <li>
 
                        <a style="color:#395fa0;text-decoration:none"
 
                           href="http://changeset_home/?repo_name=repo_org&amp;revision=567fed567fed567fed567fed567fed567fed567fed">
 
                            Make one plus two equal tree
 
                        </a>
 
                    </li>
 
            </ul>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/7" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Pull Request</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=False, status_change=None, closing_pr=False</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -1323,64 +1337,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=True, status_change=None, closing_pr=False</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -1486,64 +1502,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=False, status_change='Under Review', closing_pr=False</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Under Review: Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -1667,64 +1685,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=True, status_change='Under Review', closing_pr=False</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Under Review: Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -1848,64 +1868,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=False, status_change=None, closing_pr=True</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Closing: Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -2028,64 +2050,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=True, status_change=None, closing_pr=True</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Closing: Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -2208,64 +2232,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=False, status_change='Under Review', closing_pr=True</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Under Review, Closing: Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -2394,64 +2420,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>pull_request_comment, is_mention=True, status_change='Under Review', closing_pr=True</h1>
 
<pre>
 
From: u1
 
To: u2@example.com
 
Subject: [Under Review, Closing: Comment] repo/name PR #7 "The Title" from devbranch by u2
 
</pre>
 
@@ -2580,64 +2608,66 @@ View Comment: http://pr.org/comment
 
        <td>
 
            <div>
 
                Pull request from
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="https://dev.org/repo">https://dev.org/repo</a>
 
                branch
 
                <span style="color:#395fa0">devbranch</span>
 
                to
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://mainline.com/repo">http://mainline.com/repo</a>
 
                branch
 
                <span style="color:#395fa0">trunk</span>:
 
            </div>
 
            <div>
 
                <a style="color:#395fa0;text-decoration:none"
 
                   href="http://pr.org/7">#7</a>
 
                "<span style="color:#395fa0">The Title</span>"
 
                by
 
                <span style="color:#395fa0">u2 u3 (u2)</span>.
 
            </div>
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
<center>
 
<table cellspacing="0" cellpadding="0" style="margin-left:auto;margin-right:auto">
 
    <tr>
 
        <td height="25px"></td>
 
    </tr>
 
    <tr>
 
        <td style="border-collapse:collapse;border-radius:2px;text-align:center;display:block;border:solid 1px #395fa0">
 
            <a href="http://pr.org/comment" style="text-decoration:none;display:block" target="_blank">
 
                <center style="padding:11px 20px">
 
                    <font size="3">
 
                        <span style="font-family:Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:14px;color:#395fa0;white-space:nowrap;vertical-align:middle">View Comment</span>
 
                    </font>
 
                </center>
 
            </a>
 
        </td>
 
    </tr>
 
</table>
 
</center>
 
        </td>
 
    </tr>
 
</table>
 
                    </td>
 
                    <td></td>
 
                </tr>
 
                <tr>
 
                    <td height="30px" colspan="3"></td>
 
                </tr>
 
            </table>
 
        </td>
 
        <td width="30px"></td>
 
    </tr>
 
</table>
 
<!--/body-->
 
<!--/html-->
 
<hr/>
 
<hr/>
 
<h1>TYPE_PASSWORD_RESET</h1>
 
<pre>
 
From: u1
 
To: john@doe.com
 
Subject: Password reset link
 
</pre>
0 comments (0 inline, 0 general)