From f3ddd8f700eab7e6189c79b1683bd994eb703073 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 26 Jul 2012 00:17:22 -0400 Subject: [PATCH] Some adjustments to reduce HTML output size. --- pages/copyvios.mako | 6 +++--- pages/settings.mako | 10 +++++----- pages/support/header.mako | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/copyvios.mako b/pages/copyvios.mako index f1517ca..7f26bcd 100644 --- a/pages/copyvios.mako +++ b/pages/copyvios.mako @@ -1,7 +1,7 @@ <%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Copyvio Detector', add_css=('copyvios.css',), add_js=('copyvios.js',)"/>\ <%namespace module="toolserver.copyvios" import="main, highlight_delta"/>\ <%namespace module="toolserver.misc" import="urlstrip"/>\ -<% query, bot, all_langs, all_projects, page, result = main(environ) %> +<% query, bot, all_langs, all_projects, page, result = main(environ) %>\ % if query.project and query.lang and query.title and not page:

The given site (project=${query.project | h}, language=${query.lang | h}) doesn't seem to exist. It may also be closed or private. Confirm its URL.

@@ -20,7 +20,7 @@ http:// . - <% selected_lang = cookies["EarwigDefaultLang"].value if "EarwigDefaultLang" in cookies else bot.wiki.get_site().lang %> + <% selected_lang = cookies["EarwigDefaultLang"].value if "EarwigDefaultLang" in cookies else bot.wiki.get_site().lang %>\ % for code, name in langs: % if code == selected_lang: @@ -28,7 +28,7 @@ .