Exemplo n.º 1
0
        </div>
        <?php 
if (!$checklist->isNewRecord) {
    ?>
                    <div class="col-md-6 text-right">
                        <button type="reset" class="btn btn-sm btn-danger del" data-redirect="/checklists" data-to="/checklists/delete/<?php 
    echo $checklist->id;
    ?>
" 'data-method'='post' onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> Delete</button>
                    </div>
            <?php 
}
?>
    </div>
    <?php 
ActiveForm::end();
?>
    <!-- END Actions Content -->
</div>
<?php 
if (!$checklist->isNewRecord) {
    echo CSchedulesWidget::widget(['checklists_id' => $checklist->id]);
}
?>

<!-- Notes widget -->
<?php 
$checklist_id = \Yii::$app->request->get('id');
if ($checklist_id) {
    echo NotesWidget::widget(['type_area' => 3, 'belong_to' => $checklist_id]);
}
Exemplo n.º 2
0
    ?>
                    <div class="col-md-6 text-right">
                        <a href="/websites/delete/<?php 
    echo $website->id;
    ?>
" class="btn btn-sm btn-danger del" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> Delete</a>
                    </div>
            <?php 
}
?>
    </div>
    <?php 
ActiveForm::end();
?>
    <!-- END Actions Content -->
</div>
<!-- Checklists settings -->
<?php 
echo CSettingsWidget::widget(['belong_to' => 2]);
?>
<!-- Messages settings -->
<?php 
echo MSettingsWidget::widget(['belong_to' => 2]);
?>

<!-- Notes widget -->
<?php 
$website_id = \Yii::$app->request->get('id');
if ($website_id) {
    echo NotesWidget::widget(['type_area' => 1, 'belong_to' => $website_id]);
}
Exemplo n.º 3
0
        <?php 
if (!$message->isNewRecord) {
    ?>
                    <div class="col-md-6 text-right">
                        <button type="reset" class="btn btn-sm btn-danger del" data-redirect="/messages" data-to="/messages/delete/<?php 
    echo $message->id;
    ?>
" 'data-method'='post' ><i class="fa fa-trash" onclick="return confirm('Are you sure?')"></i> Delete</button>
                    </div>
            <?php 
}
?>
    </div>
    <?php 
ActiveForm::end();
?>
    <!-- END Actions Content -->
</div>
<!-- messages schedules -->

<?php 
if (!$message->isNewRecord) {
    echo MschedulesWidget::widget(['message_id' => $message->id]);
}
?>
<!-- Notes widget -->
<?php 
$message_id = \Yii::$app->request->get('id');
if ($message_id) {
    echo NotesWidget::widget(['type_area' => 2, 'belong_to' => $message_id]);
}
Exemplo n.º 4
0
                        <a href="/clients/delete/<?php 
    echo $client->id;
    ?>
" class="btn btn-sm btn-danger del" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> Delete</a>
                    </div>
            <?php 
}
?>
    </div>
    <?php 
ActiveForm::end();
?>
    <!-- END Actions Content -->
</div>
<?php 
echo MSettingsWidget::widget(['belong_to' => 1]);
?>

<?php 
echo CSettingsWidget::widget(['belong_to' => 1]);
?>
<!-- Notes widget -->
<?php 
$client_id = \Yii::$app->request->get('id');
if ($client_id) {
    echo NotesWidget::widget(['type_area' => 0, 'belong_to' => $client_id]);
}
?>