From ee4628eb4596c1c12a7efcbfc04abd2d48f05f0b Mon Sep 17 00:00:00 2001
From: Minteck <contact@minteck.org>
Date: Sat, 28 Jan 2023 21:46:19 +0100
Subject: Updated includes/details.inc and added assets/icons/warning.svg
 (automated)

---
 includes/details.inc | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

(limited to 'includes/details.inc')

diff --git a/includes/details.inc b/includes/details.inc
index 985f2b0..aced1ac 100644
--- a/includes/details.inc
+++ b/includes/details.inc
@@ -74,11 +74,16 @@
 <div id="member-details-2" style="background-color: <?= isset($memberData["color"]) ? '#' . $memberData["color"] . "33" : "transparent" ?>; margin-left: -20px; margin-right: -20px;">
     <?php if (((isset($age) && $age >= 16 && $metadata["little"] === 0) || (!isset($age) && $metadata["little"] === 0)) || $metadata["sexual_features"]): ?>
     <div>
-        <b>Sexual consent:</b><span class="member-small-separator"><br></span>
-        <?php if ($metadata["sexually_active"]): ?>
-        <span title="Consent is assumed when having sex with <?= $pronouns["object"] ?>, however <?= $pronouns["subjective"] ?> may ask to not have sex at the moment and such request must be honored." data-bs-toggle="tooltip">Preemptive</span>
-        <?php else: ?>
-        <span title="Consent is absolutely required every time when having sex with <?= $pronouns["object"] ?>." data-bs-toggle="tooltip">Required</span>
+        <span style="vertical-align: middle;">
+            <b>Sexual consent:</b><span class="member-small-separator"><br></span>
+            <?php if ($metadata["sexually_active"]): ?>
+                <span title="Consent is assumed when having sex with <?= $pronouns["object"] ?>, however <?= $pronouns["subjective"] ?> may ask to not have sex at the moment and such request must be honored." data-bs-toggle="tooltip">Preemptive</span>
+            <?php else: ?>
+                <span title="Consent is absolutely required every time when having sex with <?= $pronouns["object"] ?>." data-bs-toggle="tooltip">Required</span>
+            <?php endif; ?>
+        </span>
+        <?php if (!((isset($age) && $age >= 16 && $metadata["little"] === 0) || (!isset($age) && $metadata["little"] === 0))): ?>
+        <img src="/assets/icons/warning.svg" style="width: 16px;" title="Although this pony is able to engage in sexual relationships, they are not allowed to have sex with ponies who are over 16 years old." data-bs-toggle="tooltip">
         <?php endif; ?>
     </div>
     <div>
-- 
cgit