summaryrefslogtreecommitdiffstats
path: root/templates/public/userlist.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-16 07:36:17 +0100
committerDan McGee <dan@archlinux.org>2013-01-16 07:36:17 +0100
commit0b930fd92140858f4ad21e593feb057996af9b95 (patch)
treedcfb6220b0b7d8342b0072492b85407a71caf4f2 /templates/public/userlist.html
parent1f9aef78f39c90191eddf2233c278086a15052de (diff)
downloadarchweb-0b930fd92140858f4ad21e593feb057996af9b95.tar.gz
archweb-0b930fd92140858f4ad21e593feb057996af9b95.tar.xz
Convert all usages of flag icons to new sprite
This uses a new template tag to avoid repeating construction of the necessary HTML element all over the place. The site should look exactly as it did before, except now you don't have to download 20+ images to see some pages. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/userlist.html')
-rw-r--r--templates/public/userlist.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/public/userlist.html b/templates/public/userlist.html
index 0077f61..3510431 100644
--- a/templates/public/userlist.html
+++ b/templates/public/userlist.html
@@ -1,8 +1,11 @@
{% extends "base.html" %}
+{% load static from staticfiles %}
{% load cache %}
{% block title %}Arch Linux - {{ user_type }}{% endblock %}
+{% block head %}<link rel="stylesheet" type="text/css" href="{% static "flags/fam.css" %}" media="screen, projection" />{% endblock %}
+
{% block content %}
{% cache 600 dev-tu-profiles user_type %}
<div id="dev-tu-profiles" class="box">