summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-07 21:40:32 +0100
committerMinteck <contact@minteck.org>2023-01-07 21:40:32 +0100
commit9871b03912fc28ad38b4037ebf26a78aa937baba (patch)
treed552719fc33ad9be609883982f4fe5097bd44272 /includes
parent90b16702bb03c8d7115fa0cc6ea8d3aba5863f46 (diff)
downloadpluralconnect-9871b03912fc28ad38b4037ebf26a78aa937baba.tar.gz
pluralconnect-9871b03912fc28ad38b4037ebf26a78aa937baba.tar.bz2
pluralconnect-9871b03912fc28ad38b4037ebf26a78aa937baba.zip
Update - This is an automated commit
Diffstat (limited to 'includes')
-rw-r--r--includes/banner.inc6
-rw-r--r--includes/navigation.inc14
-rw-r--r--includes/system/compare.inc4
3 files changed, 5 insertions, 19 deletions
diff --git a/includes/banner.inc b/includes/banner.inc
index 5b9aa1b..67d066f 100644
--- a/includes/banner.inc
+++ b/includes/banner.inc
@@ -334,13 +334,13 @@ function getMemberBannerData(string $id, string $system, bool $french = false) {
if ($metadata["less_frequent"] ?? false) {
$badges[] = [
"id" => "nonverbal",
- "color" => "#fd7e14",
+ "color" => "#6610f2",
"html" => (
$french
?
- '<span data-bs-toggle="tooltip" data-bs-html="true" title="<b>Fronts less often</b><br>' . ucfirst(getMemberPronouns($member['pronouns'])["subjective"]) . ' ' . (getMemberPronouns($member['pronouns'])["third"] ? "front" : "fronts") . ' less often than ' . getMemberPronouns($member['pronouns'])["possessive_det"] . ' headmates, this can due to various reasons." class="badge rounded-pill" style="background-color:#fd7e14;">Fronte moins souvent</span>'
+ '<span data-bs-toggle="tooltip" data-bs-html="true" title="<b>Fronts less often</b><br>' . ucfirst(getMemberPronouns($member['pronouns'])["subjective"]) . ' ' . (getMemberPronouns($member['pronouns'])["third"] ? "front" : "fronts") . ' less often than ' . getMemberPronouns($member['pronouns'])["possessive_det"] . ' headmates, this can due to various reasons." class="badge rounded-pill" style="background-color:#6610f2;">Fronte moins souvent</span>'
:
- '<span data-bs-toggle="tooltip" data-bs-html="true" title="<b>Fronts less often</b><br>' . ucfirst(getMemberPronouns($member['pronouns'])["subjective"]) . ' ' . (getMemberPronouns($member['pronouns'])["third"] ? "front" : "fronts") . ' less often than ' . getMemberPronouns($member['pronouns'])["possessive_det"] . ' headmates, this can due to various reasons." class="badge rounded-pill" style="background-color:#fd7e14;">Fronts less often</span>'
+ '<span data-bs-toggle="tooltip" data-bs-html="true" title="<b>Fronts less often</b><br>' . ucfirst(getMemberPronouns($member['pronouns'])["subjective"]) . ' ' . (getMemberPronouns($member['pronouns'])["third"] ? "front" : "fronts") . ' less often than ' . getMemberPronouns($member['pronouns'])["possessive_det"] . ' headmates, this can due to various reasons." class="badge rounded-pill" style="background-color:#6610f2;">Fronts less often</span>'
)
];
}
diff --git a/includes/navigation.inc b/includes/navigation.inc
index 1d312e5..345b168 100644
--- a/includes/navigation.inc
+++ b/includes/navigation.inc
@@ -255,13 +255,6 @@ $navigation_cloudburst = [
"stepped" => null
],
[
- "name" => $pages["s:tree"]["name"][$lang["_name"]],
- "icon" => "/assets/icons/tree.svg",
- "invert" => true,
- "link" => "/cloudburst/-/tree",
- "stepped" => null
- ],
- [
"name" => $pages["s:species"]["name"][$lang["_name"]],
"icon" => "/assets/icons/species.svg",
"invert" => true,
@@ -334,13 +327,6 @@ $navigation_raindrops = [
"stepped" => null
],
[
- "name" => $pages["s:tree"]["name"][$lang["_name"]],
- "icon" => "/assets/icons/tree.svg",
- "invert" => true,
- "link" => "/raindrops/-/tree",
- "stepped" => null
- ],
- [
"name" => $pages["s:species"]["name"][$lang["_name"]],
"icon" => "/assets/icons/species.svg",
"invert" => true,
diff --git a/includes/system/compare.inc b/includes/system/compare.inc
index ea12582..dbcbfe4 100644
--- a/includes/system/compare.inc
+++ b/includes/system/compare.inc
@@ -154,9 +154,9 @@ function getMember(string $id) {
<span class="comparison-item">
<?php if ($metadata["shared_memory"] > 0): ?>
<?php if ($metadata["shared_memory"] === 1): ?>
- <img data-bs-toggle="tooltip" title="<?= $lang["compare"]["state"][1] ?>" src="/assets/icons/partial.svg" alt="<?= $lang["compare"]["state"][1] ?>" style="width:24px;">
+ <img data-bs-toggle="tooltip" title="<?= $lang["compare"]["state"][5] ?>" src="/assets/icons/partial.svg" alt="<?= $lang["compare"]["state"][5] ?>" style="width:24px;">
<?php else: ?>
- <img data-bs-toggle="tooltip" title="<?= $lang["compare"]["state"][0] ?>" src="/assets/icons/complete.svg" alt="<?= $lang["compare"]["state"][0] ?>" style="width:24px;">
+ <img data-bs-toggle="tooltip" title="<?= $lang["compare"]["state"][6] ?>" src="/assets/icons/complete.svg" alt="<?= $lang["compare"]["state"][6] ?>" style="width:24px;">
<?php endif; ?>
<?php else: ?>
<img data-bs-toggle="tooltip" title="<?= $lang["compare"]["state"][2] ?>" src="/assets/icons/none.svg" alt="<?= $lang["compare"]["state"][2] ?>" style="width:24px;">