Skip to content

Commit

Permalink
Merge pull request #334 from kpmg-agile/disable-image-upload
Browse files Browse the repository at this point in the history
hide image upload buttons
  • Loading branch information
robertlevy authored Mar 3, 2017
2 parents 3f213e4 + c4c53fa commit f60c0cb
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 f60c0cb

Please sign in to comment.