Merge "Revert "Merge emails state the author if it differs from the submitter""

This commit is contained in:
Logan Hanks 2018-02-23 23:58:14 +00:00 committed by Gerrit Code Review
commit ef388e25b8
2 changed files with 3 additions and 13 deletions

View File

@ -1,3 +1,4 @@
/**
* Copyright (C) 2016 The Android Open Source Project
*
@ -21,16 +22,10 @@
* a change successfully merged to the head.
* @param change
* @param email
* @param fromEmail
* @param fromName
* @param patchSetInfo
*/
{template .Merged kind="text"}
{$fromName} merged this change
{if $patchSetInfo.authorEmail != $fromEmail}
{sp}by {$patchSetInfo.authorName}
{/if}.
{$fromName} has submitted this change and it was merged.
{if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n}
{\n}
Change subject: {$change.subject}{\n}

View File

@ -19,16 +19,11 @@
/**
* @param diffLines
* @param email
* @param fromEmail
* @param fromName
* @param patchSetInfo
*/
{template .MergedHtml}
<p>
{$fromName} <strong>merged</strong> this change
{if $patchSetInfo.authorEmail != $fromEmail}
{sp}by {$patchSetInfo.authorName}
{/if}.
{$fromName} <strong>merged</strong> this change.
</p>
{if $email.changeUrl}