Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
antedebaas committed Oct 31, 2024
1 parent 8799d70 commit dafb71e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Controller/DomainsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ public function edit(Domains $domain, Request $request): Response

$form = $this->createForm(DomainFormType::class, $domain);

$repository = $this->em->getRepository(Domains::class);
$bimivmcinfo = $repository->get_bimi_vmc_details(array($domain));

$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$formdata = $form->getData();
Expand Down
4 changes: 4 additions & 0 deletions templates/domains/modal_bimivmcdetail.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
{% if bimivmcinfo[domain.id] is defined %}
<p>
These are the technical details for the installed BIMI VMC.<br>
</p>
Expand Down Expand Up @@ -115,6 +116,9 @@
</tr>
</tbody>
</table>
{% else %}
No BIMI VMC installed for this domain.
{% endif %}
</div>
</div>
</div>
Expand Down

0 comments on commit dafb71e

Please sign in to comment.