<commit_before>{* $Id$ *}
{if $mail_action eq 'New'}{tr}New article post:{/tr}{/if}{if $mail_action eq 'Edit'}{tr}Edit article post:{/tr}{/if}{if $mail_action eq 'Delete'}{tr}Delete article post:{/tr}{/if} {tr}{$mail_title} by {$mail_user|username} at{/tr} {$mail_date|tiki_short_datetime:"":"n"}

{if $mail_action neq 'Delete'}{tr}View the article at:{/tr}
{$mail_machine_raw}/{$mail_postid|sefurl:article}
{/if}

{tr}If you don't want to receive these notifications follow this link:{/tr}
{$mail_machine_raw}/tiki-user_watches.php?id={$watchId}

{tr}Title:{/tr} {$mail_title}

{tr}Publish Date:{/tr} {$mail_current_publish_date|tiki_short_datetime:"":"n"}
{tr}Expiration Date:{/tr} {$mail_current_expiration_date|tiki_short_datetime:"":"n"}
***********************************************************
{tr}Content{/tr}
***********************************************************
{$mail_current_data}
{if isset($mail_old_data)}

***********************************************************
{tr}The old article follows.{/tr}
***********************************************************
{tr}Title:{/tr} {$mail_old_title}

{tr}Publish Date:{/tr} {$mail_old_publish_date|tiki_short_datetime:"":"n"}
{tr}Expiration Date:{/tr} {$mail_old_expiration_date|tiki_short_datetime:"":"n"}
***********************************************************
{tr}Content{/tr}
***********************************************************
{$mail_old_data}
{/if}
<commit_msg>[FIX]Show link to stop receiving notifications only if there is some watchId (a user watching, etc), but don't show it in other cases (a user may be manually sending a copy by email to someone at article edition time - there is a feature in articles that allows that...).<commit_after>{* $Id$ *}
{if $mail_action eq 'New'}{tr}New article post:{/tr}{/if}{if $mail_action eq 'Edit'}{tr}Edit article post:{/tr}{/if}{if $mail_action eq 'Delete'}{tr}Delete article post:{/tr}{/if} {tr}{$mail_title} by {$mail_user|username} at{/tr} {$mail_date|tiki_short_datetime:"":"n"}

{if $mail_action neq 'Delete'}{tr}View the article at:{/tr}
{$mail_machine_raw}/{$mail_postid|sefurl:article}
{/if}

{if !empty($watchId)}{tr}If you don't want to receive these notifications follow this link:{/tr}
{$mail_machine_raw}/tiki-user_watches.php?id={$watchId}{/if}

{tr}Title:{/tr} {$mail_title}

{tr}Publish Date:{/tr} {$mail_current_publish_date|tiki_short_datetime:"":"n"}
{tr}Expiration Date:{/tr} {$mail_current_expiration_date|tiki_short_datetime:"":"n"}
***********************************************************
{tr}Content{/tr}
***********************************************************
{$mail_current_data}
{if isset($mail_old_data)}

***********************************************************
{tr}The old article follows.{/tr}
***********************************************************
{tr}Title:{/tr} {$mail_old_title}

{tr}Publish Date:{/tr} {$mail_old_publish_date|tiki_short_datetime:"":"n"}
{tr}Expiration Date:{/tr} {$mail_old_expiration_date|tiki_short_datetime:"":"n"}
***********************************************************
{tr}Content{/tr}
***********************************************************
{$mail_old_data}
{/if}

{'fraction_non_alphanumeric': 0.37248110831234255, 'fraction_numerical': 0.0, 'mean_word_length': 10.594890510948906, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7047969', 'n_tokens_mistral': 1014, 'n_tokens_neox': 982, 'n_words': 190}