Skip to content

Commit

Permalink
hide image upload buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlevy committed Mar 3, 2017
1 parent 3f213e4 commit c4c53fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/admin/directives/catalog-item/CatalogItem.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@
</div>
</div>
<!-- empty upload image placeholder -->
<div class="d-flex flex-row image-list-item">
<!--<div class="d-flex flex-row image-list-item">
<div class="select-image d-flex flex-row justify-content-center align-items-center">
<div class="image-na"></div>
</div>
<div class="d-flex flex-column justify-content-end image-label">
<div>
<!--<span data-i18n="image"></span>-->
<!--<span *ngIf="this.productImages && this.productImages.length"> {{this.productImages.length + 1}}</span>-->
<span data-i18n="image"></span>
<span *ngIf="this.productImages && this.productImages.length"> {{this.productImages.length + 1}}</span>
<span *ngIf="!this.productImages || !this.productImages.length"> 1</span>
</div>
<button class="form-btn replace-btn usa-button-primary-alt" (click)="addImage()" data-i18n="upload"></button>
</div>
</div>
</div>-->
<!-- separate inputs for logic simplicity -->
<input type="file" id="NewImageInput" class="file-input" (change)="addImageSelected($event)" accept=".jpg,.png" />
<input type="file" id="ReplaceImageInput" class="file-input" (change)="replaceImageSelected($event)" accept=".jpg,.png" />
<!--<input type="file" id="NewImageInput" class="file-input" (change)="addImageSelected($event)" accept=".jpg,.png" />
<input type="file" id="ReplaceImageInput" class="file-input" (change)="replaceImageSelected($event)" accept=".jpg,.png" />-->
</div>
</div>
<div class="col-md-6">
Expand Down

0 comments on commit c4c53fa

Please sign in to comment.