Browse Source

Placeholder for coniditions.

pull/346/head
Sebastian Stehle 7 years ago
parent
commit
1cd04db3c3
  1. 2
      src/Squidex/app/features/rules/pages/rules/triggers/asset-changed-trigger.component.html
  2. 2
      src/Squidex/app/features/rules/pages/rules/triggers/content-changed-trigger.component.html

2
src/Squidex/app/features/rules/pages/rules/triggers/asset-changed-trigger.component.html

@ -4,7 +4,7 @@
<sqx-control-errors for="condition" [submitted]="triggerFormSubmitted"></sqx-control-errors> <sqx-control-errors for="condition" [submitted]="triggerFormSubmitted"></sqx-control-errors>
<textarea class="form-control code" id="condition" formControlName="condition"></textarea> <textarea class="form-control code" id="condition" formControlName="condition" placeholder="Optional condition as javascript expression"></textarea>
</div> </div>
<div class="help"> <div class="help">

2
src/Squidex/app/features/rules/pages/rules/triggers/content-changed-trigger.component.html

@ -21,7 +21,7 @@
<span class="truncate">{{schema.schema.displayName}}</span> <span class="truncate">{{schema.schema.displayName}}</span>
</td> </td>
<td class="text-center"> <td class="text-center">
<input type="text" class="form-control code" [(ngModel)]="schema.condition" (blur)="updateValue()" /> <input type="text" class="form-control code" [(ngModel)]="schema.condition" (blur)="updateValue()" placeholder="Optional condition as javascript expression" />
</td> </td>
<td class="text-center"> <td class="text-center">
<button type="button" class="btn btn-text-secondary" (click)="removeSchema(schema)"> <button type="button" class="btn btn-text-secondary" (click)="removeSchema(schema)">

Loading…
Cancel
Save