Skip to content

Commit

Permalink
FIX: Code Syntax Fixes for `remove.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 20, 2023
1 parent bc52c4f commit 4bba262
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Template/comment_template/remove.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
<?= t('Click on the button to confirm you would like to delete the template from the database') ?>
<div class="template-contents">
<div class="template-title">
<?= $template['title'] ?> <?php if (!empty($template['topic'])): ?> (<?= $template['topic'] ?>) <?php endif ?>
<?= $template['title'] ?>
<?php if (!empty($template['topic'])): ?>
(<?= $template['topic'] ?>)
<?php endif ?>
</div>
<?= $this->text->markdown($template['description']) ?>
</div>
Expand Down
5 changes: 4 additions & 1 deletion Template/global_template/remove.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
<?= t('Click on the button to confirm you would like to delete the template from the database') ?>
<div class="template-contents">
<div class="template-title">
<?= $template['title'] ?> <?php if (!empty($template['topic'])): ?> (<?= $template['topic'] ?>) <?php endif ?>
<?= $template['title'] ?>
<?php if (!empty($template['topic'])): ?>
(<?= $template['topic'] ?>)
<?php endif ?>
</div>
<?= $this->text->markdown($template['description']) ?>
</div>
Expand Down
5 changes: 4 additions & 1 deletion Template/predefined_task_description/remove.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
<?= t('Click on the button to confirm you would like to delete the template from the database') ?>
<div class="template-contents">
<div class="template-title">
<?= $template['title'] ?> <?php if (!empty($template['topic'])): ?> (<?= $template['topic'] ?>) <?php endif ?>
<?= $template['title'] ?>
<?php if (!empty($template['topic'])): ?>
(<?= $template['topic'] ?>)
<?php endif ?>
</div>
<?= $this->text->markdown($template['description']) ?>
</div>
Expand Down

0 comments on commit 4bba262

Please sign in to comment.