1
0
mirror of https://github.com/creyD/asiimov.git synced 2026-06-11 16:42:23 +02:00
Files
asiimov/src/core/templates/profile/inventory.html
Conrad 6c98e766c0 Started Working on Inventory Getter
- Fixed Spelling Mistake on Inventory Page
2020-03-08 22:28:58 +01:00

25 lines
665 B
HTML

{% extends 'master.html' %}
{% load static %}
{% block header %}
<!-- Adding custom style sheet for profile-->
<link rel="stylesheet" href="{% static 'css/profile.css' %}">
{% endblock %}
{% block content %}
<div class="content_block">
<h3>{{ gamer.personaname }} - Inventory</h3>
{% if request.user.gamer == gamer %}<p><a href="{% url 'profile_inventory_update' gamer.steamid %}">Refresh Inventory Data</a></p>{% endif %}
{% for item in gamer.inventory.all %}
<div>
<h4 style="color: #{{ item.item_class.name_color }}">item.item_class.name</h4>
<p></p>
</div>
{% empty %}
No Inventory Data!
{% endfor %}
</div>
{% endblock %}