{% extends 'base.html' %} {% block content %}
{% if request.GET.filter_type == 'location' %} Location: {{ waste.bin.location }} {% else %} Bin: {{ waste.bin_id }} {% endif %}
Waste Level: {{ waste.level }}
Timestamp: {{ waste.timestamp|date:"Y-m-d H:i" }}
{% else %}No waste data available.
{% endif %} {% if waste and latest_weather %}Temperature: {{ latest_weather.temp }}
Precipitation: {{ latest_weather.precip }}
Humidity: {{ latest_weather.humid }}
{% endif %}