aboutsummaryrefslogtreecommitdiff
path: root/projects/view.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-05-08 00:24:58 +0200
committerMinteck <contact@minteck.org>2022-05-08 00:24:58 +0200
commit3c65754a5e6851d1ec08f60f13ee27846f1f32e5 (patch)
tree2ffe2ab27907211cf4a318dcf9b6985e0001387e /projects/view.php
parent48766d0eb788026db658fea1692cffda8fe71d26 (diff)
downloadember-3c65754a5e6851d1ec08f60f13ee27846f1f32e5.tar.gz
ember-3c65754a5e6851d1ec08f60f13ee27846f1f32e5.tar.bz2
ember-3c65754a5e6851d1ec08f60f13ee27846f1f32e5.zip
Make 'Flagship' and 'Showcase' tags not be shown
Diffstat (limited to 'projects/view.php')
-rw-r--r--projects/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/view.php b/projects/view.php
index 05cce0b..8628434 100644
--- a/projects/view.php
+++ b/projects/view.php
@@ -23,7 +23,7 @@ $title = $prj["name"] . " | Projects"; require_once $_SERVER['DOCUMENT_ROOT'] .
<a class="ln small-ln" href="/projects">&larr; Go back to projects list</a>
<h1><img class="stylized-card-icon" <?php if (!isset($project["icon"])): ?>style="background: hsla(<?= hexdec(substr($prj['id'], 0, 2)) ?>, 100%, 50%, 0.1) !important;"<?php endif; ?> src="<?= isset($prj["icon"]) ? $prj["icon"] . "?width=128" : "/assets/img/letters/" . getLetters($prj['name']) . ".png" ?>" alt=""> <?= $prj["name"] ?><?php if ($prj['archive']): ?> <span style="font-size: initial;vertical-align: middle;"><span class="badge bg-warning">Deprecated</span></span><?php endif; ?></h1>
- <p><?= preg_replace('/[|.?!;](.*)/m', '', strip_tags($Parsedown->line(trim($prj["description"])))) ?><?php foreach ($prj['tags'] as $tag): ?> <span class="badge bg-secondary rounded-pill"><a class="ln ln-hidden" href="https://gitlab.minteck.org/explore/projects/topics/<?= str_replace("%2520", "%20", urlencode(str_replace(" ", "%20", $tag))) ?>" target="_blank"><?= $tag ?></a></span><?php endforeach; ?></p>
+ <p><?= preg_replace('/[|.?!;](.*)/m', '', strip_tags($Parsedown->line(trim($prj["description"])))) ?><?php foreach ($prj['tags'] as $tag): if ($tag !== "Flagship" && $tag !== "Showcase"): ?> <span class="badge bg-secondary rounded-pill"><a class="ln ln-hidden" href="https://gitlab.minteck.org/explore/projects/topics/<?= str_replace("%2520", "%20", urlencode(str_replace(" ", "%20", $tag))) ?>" target="_blank"><?= $tag ?></a></span><?php endif; endforeach; ?></p>
<div class="list-group">
<span class="list-stylized list-group-item list-stylized-static">