<commit_before>{{define "files"}}
{{$tracker := .Tracker}}{{$baseurl := .BaseUrl}}{{$dnldpath := .DownloadUrlPath}}
{{template "header" .}}
    <div class="container">
    <div class="message">&nbsp;</div>
    {{if .Message}}
      <table width="100%" class="files">
      <tr><th>Name</th><th class="size">Size</th><th class="date">Date</th></tr>
      <tr><td colspan=3>{{.Message}}</td></tr>
      </table>
    {{else}}
      <strong>Submitter:</strong> {{$tracker.SrcEmail}}<br>
      <strong>Expires:</strong> {{$tracker.ExpirationStr}}<br>
      <strong>Description:</strong><br>{{$tracker.Description}}<br>
      <br>
      <table width="100%" class="files">
      <tr><th>Name</th><th class="size">Size</th><th class="date">Date</th></tr>
        {{range .Tracker.Files}}
           <tr><td class="filename"><a href="{{$baseurl}}{{$dnldpath}}{{$tracker.Dnldcode}}/{{.Base64Name}}">{{.Name}}</a></td><td class="size">{{printf "%.2f" .SizeMB}} MB</td><td class="date">{{.WhenSaved}}</td></tr>
        {{end}}
        <tr><th colspan=3 class="total">Total ({{len .Tracker.Files}} files): &nbsp; &nbsp; {{printf "%.2f" $tracker.SizeMB}} MB</th></tr>
      </table>
    {{end}}
    </div>
{{template "footer" .}}
{{end}}<commit_msg>Show sent to email addresses in file view<commit_after>{{define "files"}}
{{$tracker := .Tracker}}{{$baseurl := .BaseUrl}}{{$dnldpath := .DownloadUrlPath}}
{{template "header" .}}
    <div class="container">
    <div class="message">&nbsp;</div>
    {{if .Message}}
      <table width="100%" class="files">
      <tr><th>Name</th><th class="size">Size</th><th class="date">Date</th></tr>
      <tr><td colspan=3>{{.Message}}</td></tr>
      </table>
    {{else}}
      <strong>Submitter:</strong> {{$tracker.SrcEmail}}<br>
      <strong>Sent To:</strong> {{$tracker.DstEmail}}<br>
      <strong>Expires:</strong> {{$tracker.ExpirationStr}}<br>
      <strong>Description:</strong><br>{{$tracker.Description}}<br>
      <br>
      <table width="100%" class="files">
      <tr><th>Name</th><th class="size">Size</th><th class="date">Date</th></tr>
        {{range .Tracker.Files}}
           <tr><td class="filename"><a href="{{$baseurl}}{{$dnldpath}}{{$tracker.Dnldcode}}/{{.Base64Name}}">{{.Name}}</a></td><td class="size">{{printf "%.2f" .SizeMB}} MB</td><td class="date">{{.WhenSaved}}</td></tr>
        {{end}}
        <tr><th colspan=3 class="total">Total ({{len .Tracker.Files}} files): &nbsp; &nbsp; {{printf "%.2f" $tracker.SizeMB}} MB</th></tr>
      </table>
    {{end}}
    </div>
{{template "footer" .}}
{{end}}
{'fraction_non_alphanumeric': 0.27543035993740217, 'fraction_numerical': 0.009389671361502348, 'mean_word_length': 4.103792415169661, 'pattern_counts': {'":': 0, '<': 112, '<?xml version=': 0, '>': 112, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5582969', 'n_tokens_mistral': 926, 'n_tokens_neox': 885, 'n_words': 139}