view kallithea/templates/email_templates/comment.html @ 6445:fb565a8b4b4f

mails: make title in header boxes slightly bolder In my opinion, the top headers in the new mail styling seemed a bit "thin" compared to the other headers.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 22 Jan 2017 01:16:51 +0100
parents c82f90f4fc19
children 10ee27bae2ff
line wrap: on
line source

<%page args="author,text,status,close=False" />\
\
##<!-- comment ->
<table cellpadding="0" cellspacing="0" width="100%" border="0" bgcolor="${color_background_grey}" style="border:1px solid ${color_border};border-radius:4px">
    <tr>
        <td height="10px" colspan="3"></td>
    </tr>
    <tr>
        <td width="20px"></td>
        <td>
            <div style="${emph_style}">${author}</div>
        </td>
        <td width="20px"></td>
    </tr>
    <tr>
        <td height="10px" colspan="3" style="border-bottom:1px solid ${color_border}"></td>
    </tr>
    %if status or close:
        <tr>
            <td height="10px" colspan="3"></td>
        </tr>
        <tr>
            <td width="20px"></td>
            <td>
                %if status:
                    <div style="font-weight:600">
                        ${_('Status change:')}
                        ${status}
                    </div>
                %endif
                %if close:
                    <div style="font-weight:600">
                        ${_('The pull request has been closed.')}
                    </div>
                %endif
            </td>
            <td width="20px"></td>
        </tr>
        <tr>
            <td height="10px" colspan="3" style="border-bottom:1px solid ${color_border}"></td>
        </tr>
    %endif
    <tr>
        <td height="10px" colspan="3"></td>
    </tr>
    <tr>
        <td width="20px"></td>
        <td>
            <div style="${comment_style}">${text}</div>
        </td>
        <td width="20px"></td>
    </tr>
    <tr>
        <td height="10px" colspan="3"></td>
    </tr>
</table>
##<!-- /comment ->