From 4d4d500e4c7600df2efb5448e9f88a5cba8b6a8e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 5 Oct 2009 01:48:18 +0200 Subject: [PATCH] make changes to _dev/demos/ui minimal --- app/views.py | 1 + static/js/ui.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index fa2777a4..9b79fa58 100644 --- a/app/views.py +++ b/app/views.py @@ -2,6 +2,7 @@ # vi:si:et:sw=4:sts=4:ts=4 from django.shortcuts import render_to_response, get_object_or_404, get_list_or_404 from django.template import RequestContext +from django.conf import settings def index(request): diff --git a/static/js/ui.js b/static/js/ui.js index 344804d8..0ef86b49 100644 --- a/static/js/ui.js +++ b/static/js/ui.js @@ -568,7 +568,7 @@ $(function() { items.push({ size: 64, id: code, - icon: "/static/tmp/flags/" + flag + ".png", + icon: "http://oil21.org/tmp/flags/" + flag + ".png", title: strings[0] + (strings.length > 1 ? "
" + strings[1] : ""), info: Ox.formatNumber(v.items) + " Movie" + (v.items > 1 ? "s" : "") });