Merge pull request #1129 from itflow-org/tidying

Tidying/General quality of life updates
This commit is contained in:
Johnny
2024-12-28 12:41:19 -05:00
committed by GitHub
7 changed files with 44 additions and 39 deletions

View File

@@ -17,8 +17,10 @@ $contacts_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name, contact_
?>
<div class="row">
<h3>Contacts</h3>
<div class="col offset-7">
<div class="col">
<h3>Contacts</h3>
</div>
<div class="col offset-6">
<a href="contact_add.php" class="btn btn-primary" role="button"><i class="fas fa-plus mr-2"></i>New Contact</a>
</div>
</div>

View File

@@ -99,17 +99,20 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
<h5><strong>Subject:</strong> <?php echo $ticket_subject ?></h5>
<hr>
<p>
<strong>State:</strong> <?php echo $ticket_status ?>
<br>
<strong>Priority:</strong> <?php echo $ticket_priority ?>
<br>
<strong>State:</strong> <?php echo $ticket_status ?><br>
<strong>Priority:</strong> <?php echo $ticket_priority ?><br>
<?php if (empty($ticket_closed_at)) { ?>
<?php if ($task_count) { ?>
<strong>Tasks: </strong> <?php echo $completed_task_count . " / " .$task_count ?>
<br>
<?php } ?>
<strong>Assigned to: </strong> <?php echo $ticket_assigned_to ?>
<?php if (!empty($ticket_assigned_to)) { ?>
<strong>Assigned to: </strong> <?php echo $ticket_assigned_to ?>
<?php } ?>
<?php } ?>
</p>
<?php echo $ticket_details ?>