Ticket #665 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Remove head(), header(), body() & footer() from HtmlResource

Reported by: marcusl Owned by: marcusl
Priority: minor Milestone: 0.8.+
Version: 0.7.11 Keywords: jinja
Cc:

Description

When console view has been converted (#651), we can very remove a lot of now-unused functions from status.web.HtmlResource?().

Change History

comment:1 Changed 3 years ago by marcusl

  • Owner set to marcusl
  • Status changed from new to accepted

comment:2 Changed 3 years ago by marcusl

  • Status changed from accepted to closed
  • Resolution set to fixed
commit 6f87f8949e08ddde813536607240bd99a01c8747
Author: Marcus Lindblom <macke@yar.nu>
Date:   Sun Dec 27 21:11:01 2009 +0100

    Web status cleanups (fix #665) + more

     * Extract macros from change.html into change_macros.html (fixed bad bug in waterfall)
     * More HTML -> template (waterfall boxes with links)
     * remove head(), body(), footer (fixes #665)
     * title is now escaped in template (remove escaping from python)
     * actually use HtmlReource.getTitle() when building context
     * Change meta-refresh heads() to just set 'refresh' in context
     * Allow box text to be both string and list-of-string (as it was pre-jinja)
     * use waterfall's lastDate when showing waterfall page creation time (regression)
Note: See TracTickets for help on using tickets.