|
44 | 44 | disabled="disabled"
|
45 | 45 | />
|
46 | 46 | </ng-container>
|
47 |
| - <div class="input-group-append" *ngIf="warnSearchinputExact()"> |
| 47 | + <div class="input-group-append" *ngIf="shouldWarnSearchinputExact()"> |
48 | 48 | <span class="input-group-text smui-clean-input-group-append">
|
49 | 49 | <span class="badge badge-warning">
|
50 |
| - <i class="fa fa-info-circle"> </i> |
51 |
| - {{ warnSearchinputExact() }} |
| 50 | + <i class="fa fa-info-circle" title="{{warnSearchinputExact()![1]}}"> </i> |
| 51 | + {{ warnSearchinputExact()![0] }} |
52 | 52 | </span>
|
53 | 53 | </span>
|
54 | 54 | </div>
|
55 |
| - |
| 55 | + |
56 | 56 | <div *ngIf="detailSearchInput && showPreviewLinks()">
|
57 | 57 | <app-smui-preview-link
|
58 | 58 | [previewSections]="previewLinks(detailSearchInput.term)"
|
59 | 59 | >
|
60 | 60 | </app-smui-preview-link>
|
61 | 61 | </div>
|
62 |
| - |
| 62 | + |
63 | 63 | </div>
|
64 |
| - |
| 64 | + |
65 | 65 | </td>
|
66 | 66 | <td
|
67 | 67 | [style.display]="showTags ? 'table-cell' : 'none'"
|
|
364 | 364 | <td
|
365 | 365 | ng-style="{'width' : (featureToggleService.getSyncToggleUiConceptAllRulesWithSolrFields()) ? '35%' : '55%'}"
|
366 | 366 | >
|
367 |
| - <input |
368 |
| - type="text" |
369 |
| - class="form-control" |
370 |
| - id="inputUpDownTerm" |
371 |
| - placeholder="Edit UP/DOWN Rule Term ..." |
372 |
| - [(ngModel)]="upDownRule.term" |
373 |
| - (keyup.enter)="saveSearchInputDetails()" |
374 |
| - /> |
| 367 | + <div class="input-group"> |
| 368 | + <input |
| 369 | + type="text" |
| 370 | + class="form-control" |
| 371 | + id="inputUpDownTerm" |
| 372 | + placeholder="Edit UP/DOWN Rule Term ..." |
| 373 | + [(ngModel)]="upDownRule.term" |
| 374 | + (keyup.enter)="saveSearchInputDetails()" |
| 375 | + /> |
| 376 | + <div class="input-group-append" *ngIf="shouldWarnForUnescapedQuotesInTerm(upDownRule.term)"> |
| 377 | + <span class="input-group-text smui-clean-input-group-append"> |
| 378 | + <span class="badge badge-warning"> |
| 379 | + <i class="fa fa-info-circle" |
| 380 | + title="Solr/Lucene query syntax requires matching starting and closing quotes, escape them with \ if you want to match the quote character"> </i> |
| 381 | + Unmatched quotes! |
| 382 | + </span> |
| 383 | + </span> |
| 384 | + </div> |
| 385 | + </div> |
375 | 386 | </td>
|
376 | 387 | <td style="width:5%">
|
377 | 388 | <button
|
|
426 | 437 | <td
|
427 | 438 | ng-style="{'width' : (featureToggleService.getSyncToggleUiConceptAllRulesWithSolrFields()) ? '55%' : '75%'}"
|
428 | 439 | >
|
429 |
| - <input |
430 |
| - type="text" |
431 |
| - class="form-control" |
432 |
| - id="inputFilterTerm" |
433 |
| - placeholder="Edit FILTER Rule Term ..." |
434 |
| - [(ngModel)]="filterRule.term" |
435 |
| - (keyup.enter)="saveSearchInputDetails()" |
436 |
| - /> |
| 440 | + |
| 441 | + <div class="input-group"> |
| 442 | + <input |
| 443 | + type="text" |
| 444 | + class="form-control" |
| 445 | + id="inputFilterTerm" |
| 446 | + placeholder="Edit FILTER Rule Term ..." |
| 447 | + [(ngModel)]="filterRule.term" |
| 448 | + (keyup.enter)="saveSearchInputDetails()" |
| 449 | + /> |
| 450 | + |
| 451 | + <div class="input-group-append" *ngIf="shouldWarnForUnescapedQuotesInTerm(filterRule.term)"> |
| 452 | + <span class="input-group-text smui-clean-input-group-append"> |
| 453 | + <span class="badge badge-warning"> |
| 454 | + <i class="fa fa-info-circle" |
| 455 | + title="Solr/Lucene query syntax requires matching starting and closing quotes, escape them with \ if you want to match the quote character"> </i> |
| 456 | + Unmatched quotes! |
| 457 | + </span> |
| 458 | + </span> |
| 459 | + </div> |
| 460 | + </div> |
437 | 461 | </td>
|
438 | 462 | <td style="width:5%">
|
439 | 463 | <button
|
|
0 commit comments