Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
NoamaExl authored Oct 24, 2019
1 parent b09a179 commit db97a51
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions VIEW_CODE/html/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,15 @@
<prm-service-details [item]="item" [is-email]="true"></prm-service-details>```
3. You can reference the sent item(pnx/record) using angular syntax to present the relevant data:
use the curly brackets to access the pnx diectly - for example:
```{{item.pnx.display.title}} ```,
or loop over values using the ng-repeat directive to add multiple fields:
```<div dir="auto" ng-repeat="oclcid in item.pnx.addata.oclcid"> ```
```
<div style="font-weight: 600;margin-top:2em;"> Additional Information From the Record:</div>
<span ng-if="item.pnx.addata.oclcid" atyle="">OCLCID: </span>
<div dir="auto" ng-repeat="oclcid in item.pnx.addata.oclcid">{{oclcid}}</div>
<span ng-if="item.pnx.addata.oclcid" atyle="">OCLCID: </span>
<div dir="auto" ng-repeat="oclcid in item.pnx.addata.oclcid">{{oclcid}}</div>
```
Expand Down

0 comments on commit db97a51

Please sign in to comment.