<commit_before>  <!-- goods page -->

  <div class="goods-page" ng-if= "paramSection == 'listing' || paramSection == 'viewlisting'">
    <div class="row">
      <div class="col-md-12 goods-col1" style= "margin-bottom: 20px;">
        <a href="#/goods/{{id_rs}}/viewlisting" class= "btn btn-default past-orders-button" ng-if= "paramSection == 'listing'">View Listing</a>
        <a href="#/goods/{{id_rs}}/listing" class= "btn btn-default past-orders-button" ng-if= "paramSection == 'viewlisting'">Show All Items</a>
        <a href="#/goods/{{id_rs}}/pastorders" class= "btn btn-default past-orders-button">Past Orders</a>
        <a href="#/goods/{{id_rs}}/cart" class= "btn btn-default">Cart ({{shoppingCart.length}})</a>
        <a ng-click= "add()" class= "btn btn-primary add-goods-button">Add Item</a>
      </div>
    </div>
    <div infinite-scroll="showGoods.loadMore()" 
            infinite-scroll-distance="0" infinite-scroll-immediate-check="false">
            <form class="form-inline" style= "margin-bottom: 15px;">
              <div class="form-group">
                <span>Filter on items name and description</span>&nbsp;&nbsp;
                <input type="text" ng-model="showGoods.filter" ng-change="showGoods.reload()" class="form-control" placeholder="Filter">
              </div>
            </form>
      <div class="row">
        <div class="col-md-12">
          <div class="table-responsive">
            <table class="table goods-table" style= "border: 1px solid #dddddd;">
                    <thead>
                      <tr>
                        <th>Name</th>
                        <th>Seller</th>
                        <th>Tags</th>
                        <th>Quantity</th>
                        <th>Price FIMK</th>
                        <th></th>
                      </tr>
                    </thead>
                     <tbody>
                      <tr style= "cursor: pointer;" ng-if= "isAdded">
                        <td ng-click= "details(goods)">{{isAdded.name}}</td>
                        <td ng-click= "details(goods)">{{isAdded.seller}}</td>
                        <td ng-click= "details(goods)">{{isAdded.tags}}</td>
                        <td ng-click= "details(goods)">{{isAdded.quantity}}</td>
                        <td ng-click= "details(goods)">{{isAdded.priceNXT}}</td>
                        <td ng-click= "deleteGood(goods)" style= "color: #d9534f">Delete</td>
                      </tr>
                      <tr ng-repeat= "goods in showGoods.entities" style= "cursor: pointer;">
                        <td ng-click= "details(goods)">{{goods.name}}</td>
                        <td ng-click= "details(goods)">{{goods.seller}}</td>
                        <td ng-click= "details(goods)">{{goods.tags}}</td>
                        <td ng-click= "details(goods)">{{goods.quantity}}</td>
                        <td ng-click= "details(goods)">{{goods.priceFIMK}}</td>
                        <td ng-click= "deleteGood(goods)" style= "color: #d9534f">Delete</td>
                      </tr>
                    </tbody>
            </table>
          </div><commit_msg>delete button displayed in owned items<commit_after>  <!-- goods page -->

  <div class="goods-page" ng-if= "paramSection == 'listing' || paramSection == 'viewlisting'">
    <div class="row">
      <div class="col-md-12 goods-col1" style= "margin-bottom: 20px;">
        <a href="#/goods/{{id_rs}}/viewlisting" class= "btn btn-default past-orders-button" ng-if= "paramSection == 'listing'">View Listing</a>
        <a href="#/goods/{{id_rs}}/listing" class= "btn btn-default past-orders-button" ng-if= "paramSection == 'viewlisting'">Show All Items</a>
        <a href="#/goods/{{id_rs}}/pastorders" class= "btn btn-default past-orders-button">Past Orders</a>
        <a href="#/goods/{{id_rs}}/cart" class= "btn btn-default">Cart ({{shoppingCart.length}})</a>
        <a ng-click= "add()" class= "btn btn-primary add-goods-button">Add Item</a>
      </div>
    </div>
    <div infinite-scroll="showGoods.loadMore()" 
            infinite-scroll-distance="0" infinite-scroll-immediate-check="false">
            <form class="form-inline" style= "margin-bottom: 15px;">
              <div class="form-group">
                <span>Filter on items name and description</span>&nbsp;&nbsp;
                <input type="text" ng-model="showGoods.filter" ng-change="showGoods.reload()" class="form-control" placeholder="Filter">
              </div>
            </form>
      <div class="row">
        <div class="col-md-12">
          <div class="table-responsive">
            <table class="table goods-table" style= "border: 1px solid #dddddd;">
                    <thead>
                      <tr>
                        <th>Name</th>
                        <th>Seller</th>
                        <th>Tags</th>
                        <th>Quantity</th>
                        <th>Price FIMK</th>
                        <th ng-if= "paramSection == 'viewlisting'"></th>
                      </tr>
                    </thead>
                     <tbody>
                      <tr style= "cursor: pointer;" ng-if= "isAdded">
                        <td ng-click= "details(goods)">{{isAdded.name}}</td>
                        <td ng-click= "details(goods)">{{isAdded.seller}}</td>
                        <td ng-click= "details(goods)">{{isAdded.tags}}</td>
                        <td ng-click= "details(goods)">{{isAdded.quantity}}</td>
                        <td ng-click= "details(goods)">{{isAdded.priceNXT}}</td>
                        <td ng-click= "deleteGood(goods)" style= "color: #d9534f" ng-if= "paramSection == 'viewlisting'">Delete</td>
                      </tr>
                      <tr ng-repeat= "goods in showGoods.entities" style= "cursor: pointer;">
                        <td ng-click= "details(goods)">{{goods.name}}</td>
                        <td ng-click= "details(goods)">{{goods.seller}}</td>
                        <td ng-click= "details(goods)">{{goods.tags}}</td>
                        <td ng-click= "details(goods)">{{goods.quantity}}</td>
                        <td ng-click= "details(goods)">{{goods.priceFIMK}}</td>
                        <td ng-click= "deleteGood(goods)" style= "color: #d9534f" ng-if= "paramSection == 'viewlisting'">Delete</td>
                      </tr>
                    </tbody>
            </table>
          </div>
{'fraction_non_alphanumeric': 0.1775846010555728, 'fraction_numerical': 0.0058987891959018934, 'mean_word_length': 1.738206544836379, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, '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': '7450776', 'n_tokens_mistral': 2050, 'n_tokens_neox': 1864, 'n_words': 361}