Revert "Merge emails state the author if it differs from the submitter"
This reverts commit bac338caed.
Reason for revert: Faulty logic.
$fromEmail is not typically the email of the person triggering the action.
Change-Id: Id9b6fcf8e067d6f1d6d13afa0e1f1290d0b7dc58
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (C) 2016 The Android Open Source Project
|
* Copyright (C) 2016 The Android Open Source Project
|
||||||
*
|
*
|
||||||
@@ -21,16 +22,10 @@
|
|||||||
* a change successfully merged to the head.
|
* a change successfully merged to the head.
|
||||||
* @param change
|
* @param change
|
||||||
* @param email
|
* @param email
|
||||||
* @param fromEmail
|
|
||||||
* @param fromName
|
* @param fromName
|
||||||
* @param patchSetInfo
|
|
||||||
*/
|
*/
|
||||||
{template .Merged kind="text"}
|
{template .Merged kind="text"}
|
||||||
{$fromName} merged this change
|
{$fromName} has submitted this change and it was merged.
|
||||||
{if $patchSetInfo.authorEmail != $fromEmail}
|
|
||||||
{sp}by {$patchSetInfo.authorName}
|
|
||||||
{/if}.
|
|
||||||
|
|
||||||
{if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n}
|
{if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n}
|
||||||
{\n}
|
{\n}
|
||||||
Change subject: {$change.subject}{\n}
|
Change subject: {$change.subject}{\n}
|
||||||
|
|||||||
@@ -19,16 +19,11 @@
|
|||||||
/**
|
/**
|
||||||
* @param diffLines
|
* @param diffLines
|
||||||
* @param email
|
* @param email
|
||||||
* @param fromEmail
|
|
||||||
* @param fromName
|
* @param fromName
|
||||||
* @param patchSetInfo
|
|
||||||
*/
|
*/
|
||||||
{template .MergedHtml}
|
{template .MergedHtml}
|
||||||
<p>
|
<p>
|
||||||
{$fromName} <strong>merged</strong> this change
|
{$fromName} <strong>merged</strong> this change.
|
||||||
{if $patchSetInfo.authorEmail != $fromEmail}
|
|
||||||
{sp}by {$patchSetInfo.authorName}
|
|
||||||
{/if}.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{if $email.changeUrl}
|
{if $email.changeUrl}
|
||||||
|
|||||||
Reference in New Issue
Block a user