Files
@ 3a3d9c8432ed
Branch filter:
Location: kallithea/kallithea/templates/email_templates/changeset_comment.html - annotation
3a3d9c8432ed
1.3 KiB
text/html
HTML email templates: don't use link color for non-links
The link color should only be used for actual hyperlinks.
Using it for anything else is very confusing for users.
For text like repository names, branch names, etc. introduce a new style
'data_style' that is normal text with a grey background and border.
The link color should only be used for actual hyperlinks.
Using it for anything else is very confusing for users.
For text like repository names, branch names, etc. introduce a new style
'data_style' that is normal text with a grey background and border.
8b75085c2c02 8b75085c2c02 8b75085c2c02 8b75085c2c02 8b75085c2c02 8b75085c2c02 8b75085c2c02 c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 8b75085c2c02 c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 10ee27bae2ff c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 8b75085c2c02 2b2e37660e95 c82f90f4fc19 8b75085c2c02 3a3d9c8432ed c82f90f4fc19 c82f90f4fc19 2b2e37660e95 c82f90f4fc19 8b75085c2c02 3a3d9c8432ed c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 8b75085c2c02 c82f90f4fc19 c82f90f4fc19 c82f90f4fc19 | <%inherit file="main.html"/>\
\
<%block name="header">\
<% title = _('Mention in Comment on Changeset "%s"') % h.shorter(message, 200, firstline=True) if is_mention else _('Comment on Changeset "%s"') % h.shorter(message, 200, firstline=True) %>\
<%include file="header.html" args="title=title,link=cs_comment_url"/>\
</%block>\
\
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<%include file="comment.html" args="text=body,author=cs_comment_user,status=status_change"/>\
</td>
</tr>
<tr>
<td height="30px" style="height:30px"></td>
</tr>
<tr>
<td>
<div>
${_('Changeset on')}
<a style="${link_style}"
href="${cs_target_repo}">${cs_target_repo}</a>
${_('branch')}
<span style="${data_style}">${branch}</span>:
</div>
<div>
"<a style="${link_style}"
href="${cs_url}">${h.shorter(message, 60, firstline=True)}</a>"
${_('by')}
<span style="${data_style}">${cs_author.full_name_and_username}</span>.
</div>
</td>
</tr>
<tr>
<td>
<%include file="button.html" args="url=cs_comment_url,title=_('View Comment'),padding_bottom=False"/>\
</td>
</tr>
</table>
|