Skip to content

Commit 507726f

Browse files
author
ALEXANDRU BEZDADEA
committed
vizita OG, traduceri
1 parent 78e127b commit 507726f

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

api/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"start":"nodemon server.js",
9+
"devStart": "nodemon server.js"
810
},
911
"keywords": [],
1012
"author": "",

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
<body>
1212
<app-root></app-root>
1313
<noscript>Please enable JavaScript to continue using this application.</noscript>
14-
<script src="runtime.0f056e590c45ddd9.js" type="module"></script><script src="polyfills.5990fc78f4dc9bba.js" type="module"></script><script src="main.cc346b7989d9dfe3.js" type="module"></script>
14+
<script src="runtime.0f056e590c45ddd9.js" type="module"></script><script src="polyfills.5990fc78f4dc9bba.js" type="module"></script><script src="main.c254e08e5fd5ec90.js" type="module"></script>
1515

1616
</body></html>

docs/main.c254e08e5fd5ec90.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.cc346b7989d9dfe3.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/ngsw.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"configVersion": 1,
3-
"timestamp": 1661627662410,
3+
"timestamp": 1661694167592,
44
"index": "/index.html",
55
"assetGroups": [
66
{
@@ -13,7 +13,7 @@
1313
"urls": [
1414
"/favicon.ico",
1515
"/index.html",
16-
"/main.cc346b7989d9dfe3.js",
16+
"/main.c254e08e5fd5ec90.js",
1717
"/manifest.webmanifest",
1818
"/polyfills.5990fc78f4dc9bba.js",
1919
"/runtime.0f056e590c45ddd9.js",
@@ -62,8 +62,8 @@
6262
"/assets/icons/icon-72x72.png": "fad9fc8096dbe282cec1de445e5fa778dc9e7440",
6363
"/assets/icons/icon-96x96.png": "575644dfa15136fc0638748072a0de2dbd111ece",
6464
"/favicon.ico": "22f6a4a3bcaafafb0254e0f2fa4ceb89e505e8b2",
65-
"/index.html": "c5cb3af93bfc22d61a8346e7efbddb4d6c75d3d4",
66-
"/main.cc346b7989d9dfe3.js": "262169cbddcaa543249a6e5dd4ac85f66db82520",
65+
"/index.html": "dd8e5614808d721ad6da3704503f68efdadfa90c",
66+
"/main.c254e08e5fd5ec90.js": "9fd7455457ff415dbc739e295ee8c78752851652",
6767
"/manifest.webmanifest": "0884e125504f51c70d15c9e221b207db9f9dc5ce",
6868
"/polyfills.5990fc78f4dc9bba.js": "ee5262f80e1d8eba4ecd9f1d7ed8659ca3ca6d52",
6969
"/runtime.0f056e590c45ddd9.js": "724a28934f62e81e57d9ee87ce5e391754bc1adc",

src/app/app.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
The source code is available on <a target="_blank" href="https://github.com/classycodeoss/mobile-scanning-demo">Github</a>. -->
1212

1313
<ul>
14-
<li *ngFor="let item of catalogue2"> {{item.price}}</li>
14+
<li *ngFor="let item of catalogue2">{{item.name}}, preț: {{item.price}}</li>
1515
</ul>
1616
<!-- <p>{{catalogue2.price}}</p> -->
1717

@@ -21,9 +21,9 @@
2121
<div class="controls">
2222
<form>
2323
<input id="acceptAnyCode" type="checkbox" [(ngModel)]="acceptAnyCode" name="acceptAnyCode" required/>
24-
<label for="acceptAnyCode">Accept any code</label>
24+
<label for="acceptAnyCode">Acceptă și coduri neînregistrate în sistem</label>
2525
&nbsp;
26-
<button (click)="clearCart()">Clear cart</button>
26+
<button (click)="clearCart()">Șterge selecții</button>
2727
</form>
2828

2929
</div>
@@ -33,12 +33,12 @@
3333

3434

3535
<ul>
36-
<li *ngFor="let item of catalogue2"> {{item.name}}</li>
36+
<small><li *ngFor="let item of catalogue2"> {{item.name}}, Cod bare: {{item.ean}}</li></small>
3737
</ul>
3838

3939

4040

41-
<span *ngIf="items.length === 0 else shoppingCartItems">Shopping cart is empty</span>
41+
<span *ngIf="items.length === 0 else shoppingCartItems">Lista e goală</span>
4242
<ng-template #shoppingCartItems>
4343

4444
<app-shopping-cart-item

0 commit comments

Comments
 (0)