mirror of
https://github.com/creyD/asiimov.git
synced 2026-06-11 16:42:23 +02:00
25 lines
665 B
HTML
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 %}
|