Skip to content

Commit 376ea40

Browse files
authored
Merge pull request #26 from ComputerScienceHouse/hotfix/mstrodl/bruh
I'd like to be able to delete my games, thanks
2 parents b002f50 + fd9bebc commit 376ea40

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/templates/catalog.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
block content %}
33
<div class="card-wrapper">
44
{% for i in range(0,gamelist|length) %}
5+
{% if gamelist[i].id != "31cb96a8-b061-4381-a433-dd78550d4b3c" %}
56
{{ gamecard(gamelist[i]) }}
6-
7+
{% endif %}
78
{% endfor %}
89
</div>
910
{% endblock %}

src/templates/header.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{% macro gamecard(game) %}
2-
{% if game.author != "mstrodl" %}
32
<a href="/game/{{ game.id }}">
43
<div class="game-card" style="background-image: url({{ game.bannerLink }})">
54
<img class="game-icon" src="{{ game.iconLink }}" />
@@ -12,7 +11,6 @@ <h3>{{ game.author }}</h3>
1211
<div class="game-desc"><div>{{ game.description }}</div></div>
1312
</div>
1413
</a>
15-
{% endif %}
1614
{% endmacro %}
1715

1816
{% block header %}

0 commit comments

Comments
 (0)