<commit_before>{{template "header.tpl" .}}

      {{if .KarmaControls}}<script src="/static/js/post.js"></script>
      <script>
        function postUp() {
          var params = new Array();
          params['type'] = "Up";
          params['_xsrf'] = "{{.xsrf_token}}";
          post_to_url(window.location.href, params, "POST");
        }

        function postDown() {
          var params = new Array();
          params['type'] = "Down";
          params['_xsrf'] = "{{.xsrf_token}}";
          post_to_url(window.location.href, params, "POST");
        }

        {{if .MaintainerControls}}
        function postMaintainer() {
          var params = new Array();
          params['type'] = "Maintainer";
          params['_xsrf'] = "{{.xsrf_token}}";
          post_to_url(window.location.href, params, "POST");
        }
        {{end}}

        {{if .QAControls}}
        function postQA() {
          if (confirm("This is irreversible! Are you sure you want to block with -9999 karma?")) {
            var params = new Array();
            params['type'] = "QABlock";
            params['_xsrf'] = "{{.xsrf_token}}";
            post_to_url(window.location.href, params, "POST");
          }
        }
        {{end}}
      </script>{{end}}

      <div class="row">
        <div class="col-md-10 col-md-offset-1">
          <br/>
          {{if eq .Package.Status "testing"}}<div class="panel panel-warning">{{else}}
          {{if eq .Package.Status "rejected"}}<div class="panel panel-danger">{{else}}
          {{if eq .Package.Status "published"}}<div class="panel panel-success">{{else}}
          <div class="panel panel-primary">{{end}}{{end}}{{end}}
            <div class="panel-heading">
              <h1>{{.Package.Name}} <small>[{{.Package.Architecture}}] OMV-{{.Package.BuildDate.Year}}-{{.Package.Id}}</small><div class="pull-right">{{.Karma}} {{if .KarmaControls}}<a href="#" class="btn" data-toggle="modal" data-target="#voteModal"><i class="fa fa-3x {{if .UserVote}}fa-check-square-o{{else}}fa-pencil-square-o{{end}}"></i></a>{{end}}</div></h1>
            </div>
            <table class="table table-condensed">
              <tbody>
                <tr>
                  <td><b>Submitter</b></td>
                  <td>{{.Package.Submitter.Email | emailat}}</td>
                </tr>
                <tr>
                  <td><b>Platform<b></td>
                  <td>{{.Package.Platform}}</td>
                </tr>
                <tr><commit_msg>remove extraneous scripting<commit_after>{{template "header.tpl" .}}

      <div class="row">
        <div class="col-md-10 col-md-offset-1">
          <br/>
          {{if eq .Package.Status "testing"}}<div class="panel panel-warning">{{else}}
          {{if eq .Package.Status "rejected"}}<div class="panel panel-danger">{{else}}
          {{if eq .Package.Status "published"}}<div class="panel panel-success">{{else}}
          <div class="panel panel-primary">{{end}}{{end}}{{end}}
            <div class="panel-heading">
              <h1>{{.Package.Name}} <small>[{{.Package.Architecture}}] OMV-{{.Package.BuildDate.Year}}-{{.Package.Id}}</small><div class="pull-right">{{.Karma}} {{if .KarmaControls}}<a href="#" class="btn" data-toggle="modal" data-target="#voteModal"><i class="fa fa-3x {{if .UserVote}}fa-check-square-o{{else}}fa-pencil-square-o{{end}}"></i></a>{{end}}</div></h1>
            </div>
            <table class="table table-condensed">
              <tbody>
                <tr>
                  <td><b>Submitter</b></td>
                  <td>{{.Package.Submitter.Email | emailat}}</td>
                </tr>
                <tr>
                  <td><b>Platform<b></td>
                  <td>{{.Package.Platform}}</td>
                </tr>
                <tr>
{'fraction_non_alphanumeric': 0.20535241123476417, 'fraction_numerical': 0.0042395336512983575, 'mean_word_length': 2.0492730210016155, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '1949474', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1142, 'n_words': 198}