|
21 | 21 | </div> |
22 | 22 |
|
23 | 23 | <div id="save-map"> |
24 | | - <mdl-button *ngIf="mapChanged()" mdl-button-type="raised" mdl-colored="primary" mdl-ripple ng-class="btn-save-map" (click)="saveMap()">Save Map</mdl-button> |
25 | | - <mdl-button *ngIf="!mapChanged()" mdl-button-type="raised" mdl-colored="primary" mdl-ripple ng-class="btn-save-map" disabled>Save Map</mdl-button> |
| 24 | + <mdl-button *ngIf="mapChanged()" mdl-button-type="raised" mdl-colored="primary" mdl-ripple ng-class="btn-save-map" (click)="saveMap()">Save Mapping</mdl-button> |
| 25 | + <mdl-button *ngIf="!mapChanged()" mdl-button-type="raised" mdl-colored="primary" mdl-ripple ng-class="btn-save-map" disabled>Save Mapping</mdl-button> |
26 | 26 | <mdl-button *ngIf="mapChanged()" mdl-button-type="raised" mdl-colored mdl-ripple ng-class="btn-cancel-map" (click)="resetMap()">Reset</mdl-button> |
27 | 27 | <mdl-button *ngIf="!mapChanged()" mdl-button-type="raised" mdl-colored mdl-ripple ng-class="btn-cancel-map" disabled>Reset</mdl-button> |
28 | 28 | </div> |
|
33 | 33 | <div id="src-heading" #srcheading> |
34 | 34 | <div class="item-title"> |
35 | 35 | <div class="item-type">Source</div> |
36 | | - <!-- TODO help icon for when docs are avail --> |
37 | | - <!-- <span class="help-icon"> |
38 | | - <i class="fa fa-question-circle fa-lg"></i> |
39 | | - </span> --> |
| 36 | + <span class="help-icon"> |
| 37 | + <a href="https://marklogic.github.io/marklogic-data-hub/harmonize/mapping/#changing-the-mapping-source-document" target="_blank"><i class="fa fa-question-circle fa-lg"></i></a> |
| 38 | + </span> |
40 | 39 | </div> |
41 | 40 | <p *ngIf="!editingURI" class="item-identifying-info"> |
42 | | - <span (click)="editingURI=true" ng-class="sample-doc-uri" class="sample-doc-uri" title="{{ sampleDocURI }}">{{ getLastChars(sampleDocURI, 40, '...') }}</span> |
| 41 | + <span class="uri-label" tooltip="The URI of the source document from which QuickStart generates the list of source property names." container="body">URI:</span> |
| 42 | + <span (click)="editingURI=true" ng-class="sample-doc-uri" class="sample-doc-uri" tooltip="{{ getURITooltip(sampleDocURI, 45) }}" container="body">{{ getLastChars(sampleDocURI, 45, '...') }}</span> |
43 | 43 | <span class="fa fa-pencil edit-item" (click)="editingURI=true"></span> |
44 | 44 | </p> |
45 | 45 | <p *ngIf="editingURI" class="edit-uri"> |
| 46 | + <span class="uri-label" tooltip="The URI of the source document from which QuickStart generates the list of source property names." container="body">URI:</span> |
46 | 47 | <input type="text" class="edit-uri-val" [(ngModel)]="editURIVal" (keypress)="keyPressURI($event)" /> |
47 | 48 | <span class="edit-save" (click)="updateSampleDoc();"><i class="fa fa-check"></i></span> |
48 | 49 | <span class="edit-cancel" (click)="cancelEditURI()"><i class="fa fa-remove"></i></span> |
|
0 commit comments