@c8y/ng1-modules 1018.467.0 → 1018.474.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,12 @@
1
1
  <c8y-ui-action-bar-set ng-if="!$parent.child.templateUrl && !hideHeaderActions">
2
- <li class="navbar-form" action-bar-position="left">
2
+ <li
3
+ class="navbar-form"
4
+ action-bar-position="left"
5
+ >
3
6
  <div class="form-group datepicker">
4
7
  <input
5
- title="{{ 'Date from' | translate }}"
6
8
  class="form-control"
9
+ title="{{ 'Date from' | translate }}"
7
10
  placeholder="{{ 'Date from' | translate }}"
8
11
  ng-model="ctrl.dateFrom"
9
12
  data-cy="eventList--date-from"
@@ -17,8 +20,8 @@
17
20
  </div>
18
21
  <div class="form-group datepicker">
19
22
  <input
20
- title="{{ 'Date to' | translate }}"
21
23
  class="form-control"
24
+ title="{{ 'Date to' | translate }}"
22
25
  placeholder="{{ 'Date to' | translate }}"
23
26
  ng-model="ctrl.dateTo"
24
27
  data-cy="eventList--date-to"
@@ -31,31 +34,34 @@
31
34
  />
32
35
  </div>
33
36
  </li>
34
- <li class="navbar-form" action-bar-position="left">
37
+ <li
38
+ class="navbar-form"
39
+ action-bar-position="left"
40
+ >
35
41
  <div class="form-group m-r-md-8">
36
42
  <input
37
- title="{{ 'Event type' | translate }}"
38
- data-cy="eventList--event-type"
39
43
  class="form-control"
44
+ title="{{ 'Event type' | translate }}"
40
45
  placeholder="{{ 'Event type' | translate }}"
46
+ data-cy="eventList--event-type"
41
47
  ng-model="ctrl.eventType"
42
48
  />
43
49
  </div>
44
50
 
45
51
  <button
46
- type="button"
52
+ class="btn btn-default m-r-md-8"
47
53
  title="{{ 'Apply filters' | translate }}"
54
+ type="button"
48
55
  data-cy="eventList--apply-filters"
49
- class="btn btn-default m-r-md-8"
50
56
  ng-click="filter(ctrl.dateFrom, ctrl.dateTo, ctrl.eventType)"
51
57
  >
52
58
  <i c8y-icon="filter"></i>
53
59
  {{ 'Apply`filters`' | translate }}
54
60
  </button>
55
61
  <button
56
- type="button"
57
- title="{{ 'Clear filters' | translate }}"
58
62
  class="btn btn-default"
63
+ title="{{ 'Clear filters' | translate }}"
64
+ type="button"
59
65
  ng-click="clearFilter()"
60
66
  ng-if="ctrl.dateFrom || ctrl.dateTo || ctrl.eventType"
61
67
  >
@@ -63,30 +69,42 @@
63
69
  {{ 'Clear`filters`' | translate }}
64
70
  </button>
65
71
  </li>
66
- <c8y-realtime-btn class="btn btn-link" subscriber-id="ctrl.subscriberId"></c8y-realtime-btn>
72
+ <c8y-realtime-btn
73
+ class="btn btn-link"
74
+ subscriber-id="ctrl.subscriberId"
75
+ ></c8y-realtime-btn>
67
76
  <c8y-refresh-btn></c8y-refresh-btn>
68
77
  </c8y-ui-action-bar-set>
69
78
 
70
79
  <c8y-breadcrumbs-set ng-if="!$parent.child.templateUrl && !hideHeaderActions">
71
- <c8y-breadcrumbs-item label="{{ 'Events' | translate }}" icon="c8y-events"></c8y-breadcrumbs-item>
72
80
  <c8y-breadcrumbs-item
73
- label="{{ 'Overviews' | translate }}"
81
+ icon="c8y-events"
82
+ label="{{ 'Events' | translate }}"
83
+ ></c8y-breadcrumbs-item>
84
+ <c8y-breadcrumbs-item
74
85
  icon="c8y-overviews"
86
+ label="{{ 'Overviews' | translate }}"
75
87
  ></c8y-breadcrumbs-item>
76
88
  </c8y-breadcrumbs-set>
77
89
 
78
90
  <!-- check if it is inside a widget -->
79
- <div class="card-navbar navbar-default" ng-if="$parent.child.templateUrl && !hideWidgetActions">
91
+ <div
92
+ class="card-navbar navbar-default"
93
+ ng-if="$parent.child.templateUrl && !hideWidgetActions"
94
+ >
80
95
  <div class="navbar-nav navbar-right">
81
96
  <c8y-realtime-btn subscriber-id="ctrl.subscriberId"></c8y-realtime-btn>
82
97
  <button
83
- type="button"
84
98
  class="btn btn-link"
85
99
  title="{{ 'Reload' | translate }}"
100
+ type="button"
86
101
  data-ng-disabled="!paging.refresh"
87
102
  data-ng-click="refresh()"
88
103
  >
89
- <i c8y-icon="refresh" data-ng-class="{'icon-spin': refreshLoading}"></i>
104
+ <i
105
+ data-ng-class="{'icon-spin': refreshLoading}"
106
+ c8y-icon="refresh"
107
+ ></i>
90
108
  </button>
91
109
  </div>
92
110
 
@@ -94,6 +112,7 @@
94
112
  <div class="form-group form-group-sm datepicker">
95
113
  <input
96
114
  class="form-control"
115
+ style="width: 105px"
97
116
  placeholder="{{ 'From`date`' | translate }}"
98
117
  ng-model="ctrl.dateFrom"
99
118
  uib-datepicker-popup
@@ -102,13 +121,13 @@
102
121
  show-button-bar="false"
103
122
  is-open="openFrom"
104
123
  ng-click="openFrom=true"
105
- style="width: 105px"
106
124
  />
107
125
  </div>
108
126
  <div class="input-group input-group-sm">
109
127
  <div class="form-group form-group-sm datepicker">
110
128
  <input
111
129
  class="form-control"
130
+ style="width: 105px"
112
131
  placeholder="{{ 'To`date`' | translate }}"
113
132
  ng-model="ctrl.dateTo"
114
133
  uib-datepicker-popup
@@ -117,22 +136,21 @@
117
136
  show-button-bar="false"
118
137
  is-open="openTo"
119
138
  ng-click="openTo=true"
120
- style="width: 105px"
121
139
  />
122
140
  </div>
123
141
  <div class="input-group-btn">
124
142
  <button
125
- type="button"
126
- title="{{ 'Filter by date range' | translate }}"
127
143
  class="btn btn-default"
144
+ title="{{ 'Filter by date range' | translate }}"
145
+ type="button"
128
146
  ng-click="ctrl.filter(ctrl.dateFrom, ctrl.dateTo, ctrl.filters.type)"
129
147
  >
130
148
  <i c8y-icon="filter"></i>
131
149
  </button>
132
150
  <button
133
- type="button"
134
- title="{{ 'Clear date range' | translate }}"
135
151
  class="btn btn-default"
152
+ title="{{ 'Clear date range' | translate }}"
153
+ type="button"
136
154
  ng-click="ctrl.clearFilter(ctrl.filters.type)"
137
155
  ng-if="ctrl.dateFrom || ctrl.dateTo"
138
156
  >
@@ -145,9 +163,9 @@
145
163
 
146
164
  <!-- empty state -->
147
165
  <c8y-ui-empty-state
148
- ng-if="events.length == 0"
149
166
  [icon]="'c8y-events'"
150
167
  [title]="'No events to display.' | translate"
168
+ ng-if="events.length == 0"
151
169
  >
152
170
  <span c8y-guide-docs>
153
171
  <small translate>
@@ -166,7 +184,10 @@
166
184
  >
167
185
  <div class="d-flex">
168
186
  <div class="c8y-list--timeline__item__date">
169
- <p class="m-0 text-medium text-truncate" title="{{ 'Date' | translate }}">
187
+ <p
188
+ class="m-0 text-medium text-truncate"
189
+ title="{{ 'Date' | translate }}"
190
+ >
170
191
  {{ 'Date' | translate }}
171
192
  </p>
172
193
  </div>
@@ -201,15 +222,18 @@
201
222
  <div class="content-flex-50">
202
223
  <div ng-class="{ 'col-8': !hideDevice, 'col-12': hideDevice }">
203
224
  <button
204
- title="{{ evt.text | translate }}"
205
225
  class="btn-clean c8y-list__item__title"
226
+ title="{{ evt.text | translate }}"
206
227
  type="button"
207
228
  ng-click="toggle(evt)"
208
229
  >
209
230
  {{ evt.text | translate }}
210
231
  </button>
211
232
  </div>
212
- <div class="col-4" ng-if="!hideDevice">
233
+ <div
234
+ class="col-4"
235
+ ng-if="!hideDevice"
236
+ >
213
237
  <a
214
238
  class="text-truncate"
215
239
  title="{{ evt.source.name || evt.source.id }}"
@@ -221,38 +245,62 @@
221
245
  </div>
222
246
  </div>
223
247
  </div>
224
- <div class="c8y-list__item__actions" ng-click="$event.stopPropagation()">
248
+ <div
249
+ class="c8y-list__item__actions"
250
+ ng-click="$event.stopPropagation()"
251
+ >
225
252
  <button
226
- type="button"
253
+ class="collapse-btn"
227
254
  title="{{ 'Expand' | translate }}"
255
+ type="button"
228
256
  data-cy="eventList--expand-details-btn"
229
- class="collapse-btn"
230
257
  ng-click="toggle(evt)"
231
258
  >
232
259
  <i c8y-icon="chevron-down"></i>
233
260
  </button>
234
261
  </div>
235
262
  </div>
236
- <div class="collapse" uib-collapse="!isOpen(evt)" ng-click="$event.stopPropagation()">
237
- <div ng-if="isOpen(evt)" class="c8y-list__item__collapse--container">
263
+ <div
264
+ class="collapse"
265
+ uib-collapse="!isOpen(evt)"
266
+ ng-click="$event.stopPropagation()"
267
+ >
268
+ <div
269
+ class="c8y-list__item__collapse--container"
270
+ ng-if="isOpen(evt)"
271
+ >
238
272
  <div class="row">
239
- <div class="col-xs-12" ng-class="{ 'col-md-6': displayEventsBinary(evt) }">
240
- <div class="legend form-block" translate>Details</div>
273
+ <div
274
+ class="col-xs-12"
275
+ ng-class="{ 'col-md-6': displayEventsBinary(evt) }"
276
+ >
277
+ <div
278
+ class="legend form-block"
279
+ translate
280
+ >
281
+ Details
282
+ </div>
241
283
  <ul class="list-unstyled small">
242
284
  <li class="p-t-4 p-b-4 d-flex separator-bottom">
243
285
  <label class="small m-b-0 m-r-8 a-s-start">
244
286
  {{ 'Time' | translate }}
245
287
  </label>
246
- <span class="m-l-auto" data-cy="eventList--details-time">
247
- {{ evt.time | date: 'medium' }}
288
+ <span
289
+ class="m-l-auto"
290
+ data-cy="eventList--details-time"
291
+ >
292
+ {{ evt.time | date : 'medium' }}
248
293
  </span>
249
294
  </li>
250
295
  <li class="p-t-4 p-b-4 d-flex separator-bottom">
251
296
  <label class="small m-b-0 m-r-8 a-s-start">
252
297
  {{ 'Server creation time' | translate }}
253
298
  </label>
254
- <span class="m-l-auto" data-cy="eventList--details-server-creation-time">
255
- {{ evt.creationTime | date: 'medium' }}
299
+ <span
300
+ class="m-l-auto"
301
+ data-cy="eventList--details-server-creation-time"
302
+ >
303
+ {{ evt.creationTime | date : 'medium' }}
256
304
  </span>
257
305
  </li>
258
306
  <li
@@ -262,7 +310,10 @@
262
310
  <label class="small m-b-0 m-r-8 a-s-start">
263
311
  {{ label | translate }}
264
312
  </label>
265
- <span class="m-l-auto" data-cy="eventList--details-type">
313
+ <span
314
+ class="m-l-auto"
315
+ data-cy="eventList--details-type"
316
+ >
266
317
  {{ evt[key] }}
267
318
  </span>
268
319
  </li>
@@ -274,17 +325,28 @@
274
325
  <label class="small m-b-0 m-r-8 a-s-start">
275
326
  {{ key | humanize2 }}
276
327
  </label>
277
- <span class="m-l-auto" data-cy="eventList--details-get-non-standard-keys">
278
- {{ evt[key] | checkForDate: true:'medium' }}
328
+ <span
329
+ class="m-l-auto"
330
+ data-cy="eventList--details-get-non-standard-keys"
331
+ >
332
+ {{ evt[key] | checkForDate : true : 'medium' }}
279
333
  </span>
280
334
  </li>
281
335
  </ul>
282
336
  </div>
283
- <div class="col-md-6" ng-show="displayEventsBinary(evt)">
284
- <div class="legend form-block" translate>Attachment</div>
337
+ <div
338
+ class="col-md-6"
339
+ ng-show="displayEventsBinary(evt)"
340
+ >
341
+ <div
342
+ class="legend form-block"
343
+ translate
344
+ >
345
+ Attachment
346
+ </div>
285
347
  <c8y-event-binary-preview
286
- event="evt"
287
348
  class="m-b-16 d-block"
349
+ event="evt"
288
350
  ></c8y-event-binary-preview>
289
351
  <c8y-event-binary-actions
290
352
  event="evt"
@@ -2,28 +2,28 @@
2
2
 
3
3
  <c8y-breadcrumbs-set>
4
4
  <c8y-breadcrumbs-item
5
- label="{{ 'Data subscriptions' | translate }}"
6
5
  icon="c8y-data-broker"
6
+ label="{{ 'Data subscriptions' | translate }}"
7
7
  ></c8y-breadcrumbs-item>
8
8
  <c8y-breadcrumbs-item
9
- label="{{ 'Data broker' | translate }}"
10
9
  icon="c8y-data-broker"
10
+ label="{{ 'Data broker' | translate }}"
11
11
  ></c8y-breadcrumbs-item>
12
12
  </c8y-breadcrumbs-set>
13
13
 
14
14
  <c8y-ui-action-bar-set>
15
15
  <a
16
- title="{{ 'Add data subscription' | translate }}"
17
16
  class="btn btn-link"
17
+ title="{{ 'Add data subscription' | translate }}"
18
18
  ng-click="vm.toggleAddNewSubscriptionForm(vm.isShownAddNewSubscription)"
19
19
  >
20
20
  <i c8y-icon="plus-circle"></i>
21
21
  {{ 'Add data subscription' | translate }}
22
22
  </a>
23
23
  <button
24
+ class="btn btn-link"
24
25
  title="{{ 'Reload' | translate }}"
25
26
  type="button"
26
- class="btn btn-link"
27
27
  ng-click="vm.reload()"
28
28
  >
29
29
  <i c8y-icon="refresh"></i>
@@ -33,18 +33,24 @@
33
33
 
34
34
  <c8y-help src="/users-guide/enterprise-tenant/#data-broker"></c8y-help>
35
35
 
36
- <div class="c8y-empty-state text-center m-t-32" ng-if="vm.isSubscriptionsListEmpty()">
36
+ <div
37
+ class="c8y-empty-state text-center m-t-32"
38
+ ng-if="vm.isSubscriptionsListEmpty()"
39
+ >
37
40
  <h1 c8y-icon="c8y-connector-in c8y-icon-duocolor"></h1>
38
41
  <h3 translate>No data subscriptions to display.</h3>
39
42
  <p translate>Add a data subscription by clicking below.</p>
40
43
  <button
41
- title="{{ 'Add data subscription' | translate }}"
42
44
  class="btn btn-primary"
45
+ title="{{ 'Add data subscription' | translate }}"
43
46
  ng-click="vm.toggleAddNewSubscriptionForm(vm.isShownAddNewSubscription)"
44
47
  >
45
48
  {{ 'Add data subscription' | translate }}
46
49
  </button>
47
- <p class="m-t-4" c8y-guide-docs>
50
+ <p
51
+ class="m-t-4"
52
+ c8y-guide-docs
53
+ >
48
54
  <small>
49
55
  <span translate>
50
56
  Find out more in the
@@ -57,23 +63,23 @@
57
63
 
58
64
  <div class="card-group interact-grid">
59
65
  <c8y-data-broker-add-subscription
66
+ class="col-xs-12 col-sm-4 col-md-3"
60
67
  on-reload="vm.reload()"
61
68
  is-shown="vm.isShownAddNewSubscription"
62
69
  ng-if="vm.isShownAddNewSubscription"
63
- class="col-xs-12 col-sm-4 col-md-3"
64
70
  ></c8y-data-broker-add-subscription>
65
71
  <c8y-data-broker-pending-subscription
72
+ class="col-xs-12 col-sm-4 col-md-3"
66
73
  pending-subscription="pendingSubscription"
67
74
  on-reload="vm.reload()"
68
75
  ng-if="vm.pendingSubscriptions.length > 0"
69
76
  ng-repeat="pendingSubscription in vm.pendingSubscriptions | orderBy:'name'"
70
- class="col-xs-12 col-sm-4 col-md-3"
71
77
  ></c8y-data-broker-pending-subscription>
72
78
  <c8y-data-broker-subscription
79
+ class="col-xs-12 col-sm-4 col-md-3"
73
80
  accepted-subscription="subscription"
74
81
  on-reload="vm.reload()"
75
82
  ng-if="vm.subscriptions.length > 0"
76
83
  ng-repeat="subscription in vm.subscriptions | orderBy:'connectorName'"
77
- class="col-xs-12 col-sm-4 col-md-3"
78
84
  ></c8y-data-broker-subscription>
79
85
  </div>
@@ -3,7 +3,10 @@
3
3
  <c8y-realtime-switch state="ctrl.realtime"></c8y-realtime-switch>
4
4
  </c8y-ui-action-bar-set>
5
5
 
6
- <c8y-list-pagination items="supportedMeasurements" page-size="10">
6
+ <c8y-list-pagination
7
+ items="supportedMeasurements"
8
+ page-size="10"
9
+ >
7
10
  <c8y-list-pagination-control></c8y-list-pagination-control>
8
11
  <div
9
12
  class="card"
@@ -33,11 +36,22 @@
33
36
  ng-show="supportedMeasurements.length === 0"
34
37
  >
35
38
  <h1
36
- aria-label="{{ 'Icon' | translate }}"
37
39
  class="c8y-icon c8y-icon-duocolor dlt-c8y-icon-line-chart"
40
+ aria-label="{{ 'Icon' | translate }}"
38
41
  ></h1>
39
- <div ng-show="!$parent.child.templateUrl" class="h3" translate>No measurements to display.</div>
40
- <p ng-show="$parent.child.templateUrl" translate>No measurements to display.</p>
42
+ <div
43
+ class="h3"
44
+ ng-show="!$parent.child.templateUrl"
45
+ translate
46
+ >
47
+ No measurements to display.
48
+ </div>
49
+ <p
50
+ ng-show="$parent.child.templateUrl"
51
+ translate
52
+ >
53
+ No measurements to display.
54
+ </p>
41
55
  <p c8y-guide-docs>
42
56
  <small translate>
43
57
  Find out more in the
@@ -1,15 +1,15 @@
1
1
  <c8y-breadcrumbs-set>
2
2
  <c8y-breadcrumbs-item
3
- label="{{ 'Domain name' | translate }}"
4
3
  icon="cog"
4
+ label="{{ 'Domain name' | translate }}"
5
5
  ></c8y-breadcrumbs-item>
6
6
  <c8y-breadcrumbs-item
7
- label="{{ 'Enterprise tenant' | translate }}"
8
7
  icon="cog"
8
+ label="{{ 'Enterprise tenant' | translate }}"
9
9
  ></c8y-breadcrumbs-item>
10
10
  <c8y-breadcrumbs-item
11
- label="{{ 'Settings' | translate }}"
12
11
  icon="cog"
12
+ label="{{ 'Settings' | translate }}"
13
13
  ></c8y-breadcrumbs-item>
14
14
  </c8y-breadcrumbs-set>
15
15
  <div class="row">
@@ -22,12 +22,21 @@
22
22
  </div>
23
23
 
24
24
  <div class="inner-scroll">
25
- <div class="card-block" ng-if="vm.customLoadBalancerOff">
25
+ <div
26
+ class="card-block"
27
+ ng-if="vm.customLoadBalancerOff"
28
+ >
26
29
  <div class="legend form-block">
27
30
  {{ 'SSL certificate' | translate }}
28
31
  </div>
29
- <div class="m-b-16 m-t-16" ng-if="!vm.certificate">
30
- <p class="m-b-16" translate>
32
+ <div
33
+ class="m-b-16 m-t-16"
34
+ ng-if="!vm.certificate"
35
+ >
36
+ <p
37
+ class="m-b-16"
38
+ translate
39
+ >
31
40
  First you must upload the appropriate certificate by clicking "Upload certificate".
32
41
  </p>
33
42
  <p>Make sure that:</p>
@@ -39,7 +48,10 @@
39
48
  </li>
40
49
  </ul>
41
50
  </div>
42
- <div class="list-group" ng-if="vm.certificate">
51
+ <div
52
+ class="list-group"
53
+ ng-if="vm.certificate"
54
+ >
43
55
  <div class="list-group-item">
44
56
  <div class="list-item-body">
45
57
  <div class="row">
@@ -75,11 +87,17 @@
75
87
  </div>
76
88
  </div>
77
89
 
78
- <div class="card-block" ng-if="vm.certificate">
90
+ <div
91
+ class="card-block"
92
+ ng-if="vm.certificate"
93
+ >
79
94
  <div class="legend form-block">
80
95
  {{ 'Custom domain name' | translate }}
81
96
  </div>
82
- <div class="m-b-16 m-t-16" ng-if="vm.certificate.licensePresent">
97
+ <div
98
+ class="m-b-16 m-t-16"
99
+ ng-if="vm.certificate.licensePresent"
100
+ >
83
101
  <p translate>Before activating the custom domain name, make sure that:</p>
84
102
  <ul>
85
103
  <li translate>You uploaded a valid SSL certificate for your custom domain</li>
@@ -95,41 +113,57 @@
95
113
  </li>
96
114
  </ul>
97
115
  <p class="m-b-16">
98
- <span c8y-guide-docs translate>
116
+ <span
117
+ c8y-guide-docs
118
+ translate
119
+ >
99
120
  For details refer to the
100
- <a c8y-guide-href="users-guide/administration/"> User guide`KEEP_ORIGINAL` </a>.
121
+ <a c8y-guide-href="users-guide/administration/">User guide`KEEP_ORIGINAL`</a>
122
+ .
101
123
  </span>
102
124
  </p>
103
- <p class="m-b-8" translate>
125
+ <p
126
+ class="m-b-8"
127
+ translate
128
+ >
104
129
  Changes in the name server need time to propagate and take effect. Wait approximately
105
130
  one hour before activating your domain here.
106
131
  </p>
107
- <p class="m-b-16" translate>
132
+ <p
133
+ class="m-b-16"
134
+ translate
135
+ >
108
136
  After the activation is completed you will no longer be able to access your tenant
109
- with <code>{{ vm.domainName }}</code
110
- >, instead use your new custom domain name <code>{{ vm.newDomainName }}</code
111
- >.
137
+ with
138
+ <code>{{ vm.domainName }}</code>
139
+ , instead use your new custom domain name
140
+ <code>{{ vm.newDomainName }}</code>
141
+ .
112
142
  </p>
113
143
  </div>
114
144
 
115
- <p class="m-t-16 m-b-16" ng-if="!vm.certificate.licensePresent" translate>
145
+ <p
146
+ class="m-t-16 m-b-16"
147
+ ng-if="!vm.certificate.licensePresent"
148
+ translate
149
+ >
116
150
  To activate your domain, you need a valid license. Please contact our support to install
117
151
  a license for your domain.
118
152
  </p>
119
153
 
120
154
  <button
155
+ class="btn btn-primary"
121
156
  title="{{ 'Deactivate' | translate }}"
122
157
  type="button"
123
- class="btn btn-primary"
124
158
  ng-click="vm.deactivateCertificate()"
125
159
  ng-if="vm.certificate.activated"
126
160
  >
127
161
  {{ 'Deactivate' | translate }}
128
162
  </button>
129
163
  <button
164
+ class="btn btn-primary"
130
165
  title="{{ 'Activate' | translate }}"
131
166
  type="button"
132
- class="btn btn-primary"
133
167
  ng-click="vm.activateCertificate()"
134
168
  ng-if="!vm.certificate.activated"
135
169
  ng-disabled="!vm.certificate.licensePresent || !vm.validWildcard"
@@ -140,11 +174,21 @@
140
174
  </div>
141
175
 
142
176
  <div class="card-footer separator">
143
- <button class="btn btn-primary btn-form" type="button" ng-click="vm.showUploadModal()">
144
- <span ng-if="!vm.certificate" title="{{ 'Upload certificate' | translate }}">
177
+ <button
178
+ class="btn btn-primary btn-form"
179
+ type="button"
180
+ ng-click="vm.showUploadModal()"
181
+ >
182
+ <span
183
+ title="{{ 'Upload certificate' | translate }}"
184
+ ng-if="!vm.certificate"
185
+ >
145
186
  {{ 'Upload certificate' | translate }}
146
187
  </span>
147
- <span ng-if="vm.certificate" title="{{ 'Replace certificate' | translate }}">
188
+ <span
189
+ title="{{ 'Replace certificate' | translate }}"
190
+ ng-if="vm.certificate"
191
+ >
148
192
  {{ 'Replace certificate' | translate }}
149
193
  </span>
150
194
  </button>