summaryrefslogtreecommitdiff
path: root/app/ui/settings.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-08 20:59:42 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-08 20:59:42 +0100
commitb83a38434156038bc02db74cb93fa8460d0f2f32 (patch)
tree5229c62153ad640f164ff3d4a837bd8345305e02 /app/ui/settings.php
parent4755889793a36a1f33282ee4759445bef1eb2bb2 (diff)
downloadmist-b83a38434156038bc02db74cb93fa8460d0f2f32.tar.gz
mist-b83a38434156038bc02db74cb93fa8460d0f2f32.tar.bz2
mist-b83a38434156038bc02db74cb93fa8460d0f2f32.zip
Updated 16 files, added 3 files, deleted android/app/release/app-release.apk.zip and renamed android/app/release/app-release.apk (automated)
Diffstat (limited to 'app/ui/settings.php')
-rw-r--r--app/ui/settings.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/ui/settings.php b/app/ui/settings.php
index 3ef243d..fe421a0 100644
--- a/app/ui/settings.php
+++ b/app/ui/settings.php
@@ -110,7 +110,10 @@
window.parent.discordRichPresenceData = null;
} else {
window.parent.discordRichPresenceData = {
- largeImageKey: "logo"
+ largeImageKey: "logo",
+ buttons : [
+ { label: 'View profile', url: 'https://mist.equestria.horse/profile/?/<?= $_PROFILE["id"] ?>' }
+ ]
};
}
}
@@ -239,7 +242,6 @@
<img class="icon" src="/assets/logo-transparent.svg" style="vertical-align: middle; filter: grayscale(1) invert(1); width: 32px; height: 32px;" alt="">
<span style="vertical-align: middle;">Mist version <?= str_replace("|", " ", file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version")) ?> (build <?= trim(file_exists("/opt/spotify/build.txt") ? file_get_contents("/opt/spotify/build.txt") : "trunk") ?>)<span id="copyright-separator-desktop"> · </span><span id="copyright-separator-mobile"><br></span>© <?= date('Y') ?> Equestria.dev</span>
</div>
- <br><br>
<style>
@media (min-width: 768px) {
#copyright-separator-mobile {
@@ -254,6 +256,7 @@
}
</style>
<?php endif; global $privacy; global $profile; ?>
+ <br><br>
<script>
async function saveCustom() {
document.getElementById("banner").disabled = true;