|
71 | 71 | </ul>
|
72 | 72 |
|
73 | 73 | <div *ngIf="hideSolrIndexSelector()">
|
74 |
| - In order to push the rules, <a routerLink="/admin">please create a Solr collection first</a>. |
| 74 | + In order to push the rules, <a routerLink="/admin">please create a rules collection first</a>. |
75 | 75 | </div>
|
76 | 76 | <div
|
77 | 77 | *ngIf="currentSolrIndexId && currentSolrIndexId !== '-1'"
|
|
80 | 80 |
|
81 | 81 | <div class="depl-info-container border-left border-right pl-2">
|
82 | 82 | <ng-container *ngFor="let singleDeploymentInfo of deploymentLogInfo; index as idxDeploy">
|
83 |
| - <span class="depl-info-row-instance"><b>{{ singleDeploymentInfo.targetSystem }}</b> deployment:</span> |
| 83 | + <span class="depl-info-row-instance"> |
| 84 | + <b>{{ (singleDeploymentInfo.targetSystem == 'PRELIVE' ? |
| 85 | + featureToggleService.getSync('toggle.rule-deployment-prelive-label') : |
| 86 | + featureToggleService.getSync('toggle.rule-deployment-label'))}}</b> deployment:</span> |
84 | 87 | <span class="depl-info-row-datetime"><b>{{ singleDeploymentInfo.formattedDateTime }}</b></span>
|
85 | 88 | <span class="depl-info-row-result">
|
86 | 89 | <b
|
|
105 | 108 | </div>
|
106 | 109 | <div class="btn-group">
|
107 | 110 | <button
|
| 111 | + *ngIf=" |
| 112 | + featureToggleService.getSyncToggleRuleDeploymentPreLivePresent() |
| 113 | + " |
108 | 114 | type="button"
|
109 | 115 | class="btn btn-outline-primary"
|
110 | 116 | (click)="publishSolrConfig()"
|
|
117 | 123 | {{ publishToPreliveButtonText() }}
|
118 | 124 | </button>
|
119 | 125 | <button
|
120 |
| - *ngIf=" |
121 |
| - featureToggleService.getSyncToggleRuleDeploymentPreLivePresent() |
122 |
| - " |
123 | 126 | type="button"
|
124 | 127 | class="btn btn-outline-danger"
|
125 | 128 | (click)="modalService.open('confirm-publish-live')"
|
|
161 | 164 | </div>
|
162 | 165 | </app-smui-modal>
|
163 | 166 |
|
164 |
| -<app-smui-modal id="confirm-publish-live" title="Confirm publish to LIVE"> |
| 167 | +<app-smui-modal id="confirm-publish-live" title="Confirm publish to {{ featureToggleService.getSync('toggle.rule-deployment-label') }}"> |
165 | 168 | <div content>
|
166 |
| - <p>Are you sure to publish current Search Rules to LIVE?</p> |
| 169 | + <p>Are you sure to publish current Search Rules to {{ featureToggleService.getSync('toggle.rule-deployment-label') }}?</p> |
167 | 170 | </div>
|
168 | 171 | <div footer class="btn-toolbar">
|
169 | 172 | <button
|
|
172 | 175 | (click)="requestPublishRulesTxtToSolr('LIVE')"
|
173 | 176 | >
|
174 | 177 | <i class="fa fa-thumbs-up smui-icon"></i>
|
175 |
| - Yes, publish to LIVE |
| 178 | + Yes, publish to {{ featureToggleService.getSync('toggle.rule-deployment-label') }} |
176 | 179 | </button>
|
177 | 180 | <button
|
178 | 181 | class="btn btn-danger"
|
|
0 commit comments