Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 385 | Rev 387 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
251 geraldo 1
<?php
2
$acl = $this->viewModel()->getRoot()->getVariable('acl');
3
$currentUser = $this->currentUserHelper();
4
 
5
$roleName = $currentUser->getUserTypeId();
6
 
261 geraldo 7
$routeAdd = $this->url('self-evaluation/forms/add');
262 geraldo 8
$routeDatatable = $this->url('self-evaluation/reviews');
251 geraldo 9
$routeDashboard = $this->url('dashboard');
10
 
261 geraldo 11
$allowEdit = $acl->isAllowed($roleName, 'self-evaluation/forms/edit') ? 1 : 0;
251 geraldo 12
 
13
 
14
$this->inlineScript()->appendFile($this->basePath('plugins/ckeditor/ckeditor.js'));
15
 
16
 
17
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
18
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
19
 
20
 
21
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
22
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
23
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
24
 
25
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'));
26
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-responsive/css/responsive.bootstrap4.min.css'));
27
 
28
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
29
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
30
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
31
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
32
 
33
 
34
$this->headLink()->appendStylesheet($this->basePath('plugins/select2/css/select2.min.css'));
35
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css'));
36
 
37
$this->inlineScript()->appendFile($this->basePath('plugins/select2/js/select2.full.min.js'));
38
 
39
$this->inlineScript()->appendFile($this->basePath('plugins/moment/moment-with-locales.min.js'));
40
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css'));
41
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js'));
42
 
43
 
44
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
45
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
46
 
47
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-confirmation/dist/bootstrap-confirmation.js'));
48
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap-checkbox/awesome-bootstrap-checkbox.css'));
49
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-input-number/input-number-format.jquery.js'));
261 geraldo 50
 
251 geraldo 51
// bootbox Alert //
52
$this->inlineScript()->appendFile($this->basePath('plugins/bootbox/bootbox.min.js'));
261 geraldo 53
 
251 geraldo 54
// JsRender //
55
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
56
 
261 geraldo 57
// Page Styles
58
$this->headLink()->appendStylesheet($this->basePath('css/pages/self-evaluation.css'));
251 geraldo 59
 
306 geraldo 60
 
307 geraldo 61
$pending = \LeadersLinked\Model\CompanySelfEvaluationTest::STATUS_PENDING;
308 geraldo 62
$review = \LeadersLinked\Model\CompanySelfEvaluationTest::STATUS_REVIEW;
307 geraldo 63
$completed = \LeadersLinked\Model\CompanySelfEvaluationTest::STATUS_COMPLETED;
306 geraldo 64
 
251 geraldo 65
$this->inlineScript()->captureStart();
66
echo <<<JS
339 geraldo 67
const classFormGenerator = function() {
251 geraldo 68
    this.id = 0,
69
        this.table = '',
70
        this.name = '',
71
        this.text = '',
72
        this.status = 'a',
73
        this.sections = [],
74
        this.clear = function() {
75
            this.sections = [];
76
            this.render();
77
        },
78
        /**
79
         * Render array sections
80
         */
81
        this.renderSection = function(slug_section) {
82
            var s = '';
83
            for (i = 0; i < this.sections.length; i++) {
84
                if (slug_section != this.sections[i].slug_section) {
85
                    continue;
86
                }
87
                for (j = 0; j < this.sections[i].questions.length; j++) {
88
                    this.sections[i].questions[j].position = j;
89
                    if (this.sections[i].questions[j].type == 'simple' || this.sections[i].questions[j].type == 'multiple' || this.sections[i].questions[j].type == 'rating-open') {
90
                        this.sections[i].questions[j].options.sort(function(a, b) {
91
                            if (a.position > b.position) {
92
                                return 1;
93
                            }
94
                            if (a.position < b.position) {
95
                                return -1;
96
                            }
97
                            return 0;
98
                        });
99
                        for (k = 0; k < this.sections[i].questions[j].options.length; k++) {
100
                            this.sections[i].questions[j].options[k].position = j;
101
                        }
102
                    }
103
                }
104
            }
105
            $('[data-toggle="tooltip"]').tooltip();
106
        },
107
        this.render = function() {
108
            this.sections.sort(function(a, b) {
109
                if (a.position > b.position) {
110
                    return 1;
111
                }
112
                if (a.position < b.position) {
113
                    return -1;
114
                }
115
                return 0;
116
            });
117
            var s = '';
118
            for (i = 0; i < this.sections.length; i++) {
119
                this.sections[i].position = i;
120
                this.sections[i].questions.sort(function(a, b) {
121
                    if (a.position > b.position) {
122
                        return 1;
123
                    }
124
                    if (a.position < b.position) {
125
                        return -1;
126
                    }
127
                    return 0;
128
                });
129
                for (j = 0; j < this.sections[i].questions.length; j++) {
130
                    this.sections[i].questions[j].position = j;
131
                    if (this.sections[i].questions[j].type == 'simple' || this.sections[i].questions[j].type == 'multiple' || this.sections[i].questions[j].type == 'rating-open') {
132
                        this.sections[i].questions[j].options.sort(function(a, b) {
133
                            if (a.position > b.position) {
134
                                return 1;
135
                            }
136
                            if (a.position < b.position) {
137
                                return -1;
138
                            }
139
                            return 0;
140
                        });
141
                        for (k = 0; k < this.sections[i].questions[j].options.length; k++) {
142
                            this.sections[i].questions[j].options[k].position = j;
143
                        }
144
                    }
145
                }
146
            }
147
            $('[data-toggle="tooltip"]').tooltip();
266 geraldo 148
        };
352 geraldo 149
    /**
150
     * Add element to question array
151
     */
152
    this.editQuestion = function(slug_section, slug_question, status) {
153
        var renderTable = false;
154
        for (i = 0; i < this.sections.length; i++) {
155
            if (slug_section == this.sections[i].slug_section) {
156
                for (j = 0; j < this.sections[i].questions.length; j++) {
157
                    if (slug_question == this.sections[i].questions[j].slug_question) {
158
                        this.sections[i].questions[j].status = status;
159
                        renderTable = true;
160
                        break;
345 geraldo 161
                    }
162
                }
163
            }
386 geraldo 164
 
352 geraldo 165
        }
166
        if (renderTable) {
167
            this.renderSection(slug_section);
168
        }
169
    };
339 geraldo 170
}
251 geraldo 171
jQuery(document).ready(function($) {
172
    var objFormGenerator = new classFormGenerator();
173
    objFormGenerator.render();
174
    var allowEdit = $allowEdit;
175
    /**
176
     * Get rows and set data table
177
     */
178
    var tableForm = $('#gridTable').dataTable({
179
        'processing': true,
180
        'serverSide': true,
181
        'searching': true,
182
        'order': [
183
            [0, 'asc']
184
        ],
185
        'ordering': true,
186
        'ordenable': true,
187
        'responsive': true,
188
        'select': false,
189
        'paging': true,
190
        'pagingType': 'simple_numbers',
191
        'ajax': {
192
            'url': '$routeDatatable',
193
            'type': 'get',
194
            'beforeSend': function(request) {
195
                NProgress.start();
196
            },
197
            'dataFilter': function(response) {
198
                var response = jQuery.parseJSON(response);
199
                var json = {};
200
                json.recordsTotal = 0;
201
                json.recordsFiltered = 0;
202
                json.data = [];
203
                if (response.success) {
204
                    json.recordsTotal = response.data.total;
205
                    json.recordsFiltered = response.data.total;
206
                    json.data = response.data.items;
207
                } else {
208
                    $.fn.showError(response.data)
209
                }
210
                return JSON.stringify(json);
211
            }
212
        },
213
        'language': {
214
            'sProcessing': 'LABEL_DATATABLE_SPROCESSING',
215
            'sLengthMenu': 'LABEL_DATATABLE_SLENGTHMENU',
216
            'sZeroRecords': 'LABEL_DATATABLE_SZERORECORDS',
217
            'sEmptyTable': 'LABEL_DATATABLE_SEMPTYTABLE',
218
            'sInfo': 'LABEL_DATATABLE_SINFO',
219
            'sInfoEmpty': 'LABEL_DATATABLE_SINFOEMPTY',
220
            'sInfoFiltered': 'LABEL_DATATABLE_SINFOFILTERED',
221
            'sInfoPostFix': '',
222
            'sSearch': 'LABEL_DATATABLE_SSEARCH',
223
            'sUrl': '',
224
            'sInfoThousands': ',',
225
            'sLoadingRecords': 'LABEL_DATATABLE_SLOADINGRECORDS',
226
            'oPaginate': {
227
                'sFirst': 'LABEL_DATATABLE_SFIRST',
228
                'sLast': 'LABEL_DATATABLE_SLAST',
229
                'sNext': 'LABEL_DATATABLE_SNEXT',
230
                'sPrevious': 'LABEL_DATATABLE_SPREVIOUS'
231
            },
232
            'oAria': {
233
                'sSortAscending': ': LABEL_DATATABLE_SSORTASCENDING',
234
                'sSortDescending': ':LABEL_DATATABLE_SSORTDESCENDING'
235
            },
236
        },
237
        'drawCallback': function(settings) {
238
            NProgress.done();
239
            $('button.btn-delete').confirmation({
240
                rootSelector: 'button.btn-delete',
241
                title: 'LABEL_ARE_YOU_SURE',
242
                singleton: true,
243
                btnOkLabel: 'LABEL_YES',
244
                btnCancelLabel: 'LABEL_NO',
245
                onConfirm: function(value) {
246
                    action = $(this).data('href');
247
                    NProgress.start();
248
                    $.ajax({
249
                        'dataType': 'json',
250
                        'accept': 'application/json',
251
                        'method': 'post',
252
                        'url': action,
253
                    }).done(function(response) {
254
                        if (response['success']) {
255
                            $.fn.showSuccess(response['data']);
256
                            tableForm.fnDraw();
257
                        } else {
258
                            $.fn.showError(response['data']);
259
                        }
260
                    }).fail(function(jqXHR, textStatus, errorThrown) {
261
                        $.fn.showError(textStatus);
262
                    }).always(function() {
263
                        NProgress.done();
264
                    });
265
                },
266
            });
267
        },
339 geraldo 268
        'aoColumns': [{
294 geraldo 269
                'mDataProp': 'user'
339 geraldo 270
            }, {
251 geraldo 271
                'mDataProp': 'name'
272
            },
273
            {
274
                'mDataProp': 'language'
275
            },
276
            {
277
                'mDataProp': 'status'
278
            },
279
            {
294 geraldo 280
                'mDataProp': 'link_edit'
251 geraldo 281
            },
282
        ],
339 geraldo 283
        'columnDefs': [{
251 geraldo 284
                'targets': 0,
285
                'className': 'text-vertical-middle',
339 geraldo 286
            }, {
294 geraldo 287
                'targets': 1,
288
                'className': 'text-vertical-middle',
251 geraldo 289
            },
290
            {
294 geraldo 291
                'targets': -1,
251 geraldo 292
                'className': 'text-vertical-middle',
293
            },
294
            {
292 geraldo 295
                'targets': -2,
296
                'orderable': false,
297
                'className': 'text-center',
293 geraldo 298
                'className': 'text-vertical-middle',
251 geraldo 299
            },
300
            {
301
                'targets': -1,
302
                'orderable': false,
303
                'render': function(data, type, row) {
304
                    s = '';
305
                    if (allowEdit) {
293 geraldo 306
                        s = s + '<button class="btn btn-primary btn-edit-form" data-href="' + data + '" data-toggle="tooltip" title="LABEL_EDIT"><i class="fa fa-pencil"></i> LABEL_EDIT </button>&nbsp;';
251 geraldo 307
                    }
308
                    return s;
309
                }
310
            }
311
        ],
312
    });
313
    /**
314
     * Clicked on edit form
315
     */
316
    $('body').on('click', 'button.btn-edit-form', function(e) {
317
        e.preventDefault();
318
        form_id = $(this).data('id')
319
        var action = $(this).data('href');
320
        $.ajax({
321
            'dataType': 'json',
322
            'accept': 'application/json',
323
            'method': 'get',
324
            'url': action,
325
        }).done(function(response) {
326
            if (response['success']) {
327
                $('#form-main').attr('action', action);
328
                $('#form-main #form-id').val(response['data']['id']),
366 geraldo 329
                $('#name').html(response['data']['name']);
330
                $('#form-status').val(response['data']['status']);
316 geraldo 331
                $('#text').html(response['data']['text']);
332
                $('#user').html(response['data']['user']);
251 geraldo 333
                /*-------------Render Sections -------*/
334
                objFormGenerator.clear();
335
                objFormGenerator.sections = response['data']['content'] || [];
336
                objFormGenerator.render();
337
                renderSectionData(objFormGenerator.sections);
254 geraldo 338
                $('#row-forms').hide();
251 geraldo 339
                $('#row-edit').show();
340
            } else {
341
                $.fn.showError(response['message'] || 'ERROR_UNKNOWN');
342
            }
343
        }).fail(function(jqXHR, textStatus, errorThrown) {
344
            $.fn.showError(textStatus);
345
        });
346
    });
351 geraldo 347
    $('button.btn-form-save-close').click(function(e) {
352 geraldo 348
        var formContinue = parseInt($('#form-main #form-continue').val());
349
        var data = {
350
            'status': $('#form-main #form-status').val(),
351
            'content': JSON.stringify(objFormGenerator.sections)
352
        }
353
        $.ajax({
354
            'dataType': 'json',
355
            'method': 'post',
356
            'url': $('#form-main').attr('action'),
357
            'data': data,
358
        }).done(function(response) {
359
            if (response['success']) {
360
                $.fn.showSuccess(response['data']);
361
                $('#row-edit').hide();
362
                $('#row-forms').show();
363
                /*---------- Reset Form -------- */
364
                $('#form-main')[0].reset();
365
                /*--------Reset Sections ----------*/
366
                clearSectionData();
367
                /* ------- Refresh Table -----------*/
368
                tableForm.fnDraw();
369
            } else {
370
                $.fn.showError(response['message'] || 'ERROR_UNKNOWN');
371
            }
372
        }).fail(function(jqXHR, textStatus, errorThrown) {
373
            $.fn.showError(textStatus);
374
        });
375
        return false;
351 geraldo 376
    });
251 geraldo 377
    /**
378
     * Clicked cancel new/edit Form
379
     */
380
    $('button.btn-edit-cancel').click(function(e) {
381
        e.preventDefault();
382
        $('#row-edit').hide();
254 geraldo 383
        $('#row-forms').show();
251 geraldo 384
    });
385
    /**
339 geraldo 386
     * Get Answers
387
     */
388
    const getAnswer = (type, options, answer) => {
389
        if (type == 'open' || type == 'rating-range') {
328 geraldo 390
            return answer;
251 geraldo 391
        }
339 geraldo 392
        if (type == 'multiple') {
352 geraldo 393
            let opt = '';
339 geraldo 394
            opt += removeTags(options.filter((opt) => answer.includes(opt.slug_option))[0].text) + ' ';
332 geraldo 395
            return opt;
330 geraldo 396
        }
338 geraldo 397
        return removeTags(options.filter((opt) => opt.slug_option == answer)[0].text);
251 geraldo 398
    }
399
    /**
341 geraldo 400
     * Get Status
401
     */
344 geraldo 402
    const getStatus = (options, answer) => options.filter((opt) => (opt.slug_option == answer || answer.includes(opt.slug_option)) &&
371 geraldo 403
        opt.correct == 1) ? '<font color="green">LABEL_CORRECT</font>' : '<font color="red">LABEL_FAIL</red>'
341 geraldo 404
    /**
251 geraldo 405
     * Remove Html Tags
406
     */
339 geraldo 407
    const removeTags = (str) => str.toString().replace(/(<([^>]+)>)/ig, '')
251 geraldo 408
    /**
409
     * Render Sections data
410
     */
411
    const renderSectionData = (data) => $("#rows").html($("#sectionTemplate").render(data, {
323 geraldo 412
        removeTags: removeTags,
341 geraldo 413
        getAnswer: getAnswer,
385 geraldo 414
        getStatus: getStatus
251 geraldo 415
    }));
416
    /**
417
     * Clear Div Section data
418
     */
419
    const clearSectionData = () => $("#rows").html('');
420
    /**
421
     * Clicked refresh button
422
     */
423
    $('button.btn-refresh').click(function(e) {
424
        tableForm.fnDraw();
425
    });
379 geraldo 426
 
384 geraldo 427
    /**
428
     * Clicked edit question
429
     */
430
    $('body').on('click', 'button.btn-add-status', function(e) {
431
        e.preventDefault();
432
        var slug_section = $(this).data('section');
383 geraldo 433
 
384 geraldo 434
        objFormGenerator.editQuestion(
435
            $(this).data('section'),
436
            $(this).data('question'),
437
                    true
438
                );
439
    });
440
 
441
    /**
442
     * Clicked edit question
443
     */
444
    $('body').on('click', 'button.btn-remove-status', function(e) {
445
        e.preventDefault();
446
        var slug_section = $(this).data('section');
447
 
448
        objFormGenerator.editQuestion(
449
            $(this).data('section'),
450
            $(this).data('question'),
451
                    false
452
                );
453
    });
454
 
251 geraldo 455
});
456
JS;
457
$this->inlineScript()->captureEnd();
458
?>
459
 
460
<!-- Content Header (Page header) -->
461
<section class="content-header">
369 geraldo 462
   <div class="container-fluid">
463
      <div class="row mb-2">
464
         <div class="col-sm-12">
465
            <h1>LABEL_REVIEWS</h1>
466
         </div>
467
      </div>
468
   </div>
469
   <!-- /.container-fluid -->
251 geraldo 470
</section>
314 geraldo 471
<section class="content" style="padding: 13px;">
369 geraldo 472
<div class="container-fluid" id="row-forms">
473
   <div class="row">
474
      <div class="col-12">
475
         <div class="card">
476
            <div class="card-body">
477
               <table id="gridTable" class="table   table-hover">
478
                  <thead>
479
                     <tr>
480
                        <th>LABEL_USER</th>
481
                        <th>LABEL_NAME</th>
482
                        <th>LABEL_LANGUAGE</th>
483
                        <th>LABEL_STATUS</th>
484
                        <th>LABEL_ACTIONS</th>
485
                     </tr>
486
                  </thead>
487
                  <tbody></tbody>
488
               </table>
251 geraldo 489
            </div>
369 geraldo 490
            <div class="card-footer clearfix">
491
               <div style="float:right;">
492
                  <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
493
               </div>
494
            </div>
495
         </div>
496
      </div>
497
   </div>
498
</div>
499
<!-- Create/Edit Form -->
500
<div class="row" id="row-edit" style="display: none">
501
   <div class="col-xs-12 col-md-12">
502
      <form action="#" name="form-main" id="form-main">
503
         <div class="form-group">
504
            <label for="form-status">LABEL_USER:</label>
505
            <div id="user"></div>
506
         </div>
507
         <div class="form-group">
508
            <label for="form-status">LABEL_FORM:</label>
509
            <div id="name"></div>
510
         </div>
511
         <div class="form-group">
512
            <label for="form-status">LABEL_DESCRIPTION:</label>
513
            <div id="text"></div>
514
         </div>
515
         <div class="form-group">
516
            <label for="form-status">LABEL_STATUS:</label>
517
            <select name="form-status" id="form-status" class="form-control">
518
               <option value="<?php echo $pending; ?>">LABEL_PENDING</option>
519
               <option value="<?php echo $review; ?>">LABEL_REVIEW</option>
520
               <option value="<?php echo $completed; ?>">LABEL_COMPLETED</option>
521
            </select>
522
         </div>
523
         <div class="row">
524
            <div class="col-xs-12 col-md-12">
525
               <div class="panel-group" id="rows"></div>
526
            </div>
527
         </div>
528
         <div class="form-group">
529
            <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
530
            <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
531
         </div>
532
      </form>
533
   </div>
534
</div>
535
<!-- Create/Edit Form-->
251 geraldo 536
 
537
    <!---Template Sections --->
538
    <script id="sectionTemplate" type="text/x-jsrender">
539
    <div class="panel panel-default" id="panel-{{:slug_section}}">
369 geraldo 540
   <div class="panel-heading">
541
      <h4 class="panel-title">
542
         <a class="accordion-toggle" data-toggle="collapse" aria-expanded="true" data-parent="#panel-{{:slug_section}}" href="#collapse-{{:slug_section}}">
543
         <span class="section-name{{:slug_section}}">
544
         {{:name}}
545
         </span>
546
         </a>
547
      </h4>
548
   </div>
549
   <div id="collapse-{{:slug_section}}" class="panel-collapse in collapse show">
550
      <div class="panel-body">
551
         <div class="table-responsive">
552
            <table class="table table-bordered">
553
               <thead>
554
                  <tr>
555
                     <th style="width: 40%;">LABEL_QUESTION</th>
374 geraldo 556
                     <th style="width: 35%;">LABEL_ANSWER</th>
557
                     <th style="width: 25%;">LABEL_ACTIONS</th>
369 geraldo 558
                  </tr>
559
               </thead>
560
               {{for questions}}
561
               <tbody>
562
                  <tr class="tr-question">
563
                     <td class="text-left">{{:~removeTags(text)}} </td>
564
                     <td>{{:~getAnswer(type,options,answer)}}</td>
565
                     <td>
380 geraldo 566
 
384 geraldo 567
 
380 geraldo 568
 
381 geraldo 569
 
382 geraldo 570
 
381 geraldo 571
 
369 geraldo 572
                        {{if type == 'simple'  || type=='multiple' }}
573
                        {{:~getStatus( options,answer)}}
574
                        {{else}}
575
                        {{if status}}
375 geraldo 576
 
376 geraldo 577
 
375 geraldo 578
 
384 geraldo 579
                        <button type="button"  class="btn btn-danger btn-remove-status"
580
                        data-section="{{:slug_section}}" data-question="{{:slug_question}}"
376 geraldo 581
                        >
372 geraldo 582
                        <i class="fa fa-times" aria-hidden="true"></i> LABEL_TO_CHECK LABEL_FAIL
369 geraldo 583
                        </button>
377 geraldo 584
 
585
                        {{else}}
375 geraldo 586
 
384 geraldo 587
 
376 geraldo 588
 
589
                        <button
384 geraldo 590
                        type="button" class="btn btn-success  btn-add-status"
591
                        data-section="{{:slug_section}}" data-question="{{:slug_question}}" >
372 geraldo 592
                        <i class="fa fa-check" aria-hidden="true"></i> LABEL_TO_CHECK LABEL_CORRECT
369 geraldo 593
                        </button>
375 geraldo 594
 
376 geraldo 595
 
375 geraldo 596
 
369 geraldo 597
                        {{/if}}
375 geraldo 598
 
369 geraldo 599
                        {{/if}}
600
                     </td>
601
                  </tr>
602
               </tbody>
603
               {{/for}}
604
            </table>
605
         </div>
606
      </div>
607
   </div>
608
</div>
251 geraldo 609
    </script>
610
 
611
    <!-- End Template Sections-->
612
 
613
</section>