Ticket #663 (closed task: fixed)
Copy index.html to templates/root.html in upgrademaster()
| Reported by: | marcusl | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.8.0 |
| Version: | 0.7.11 | Keywords: | jinja |
| Cc: |
Description
Currently we've overriden index.html with the RootPage? class. We don't want to do that if users have customized their index.html.
So add some check in WebStatus?() constructor that checks and adjusts for that.
Change History
comment:2 Changed 2 years ago by marcusl
- Summary changed from Use public_html/index.html if it exists for root page to Copy index.html to templates/root.html in upgrademaster()
We do the what the new topic says instead, which makes more sense. (I.e. we insert an override of the root-page template with user's own customized index.html.)
See discussion on mail-list this and last week.
comment:3 Changed 2 years ago by marcusl
- Status changed from new to closed
- Resolution set to fixed
commit 281a00d94944a3a75f11bfc74459978f5bb2cf71
Author: Marcus Lindblom <macke@yar.nu>
Date: Fri Dec 25 20:58:05 2009 +0100
Move public_html/index.html to templates/root.html on 'upgrade-master' (fixes #663)
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
The precise line is http://github.com/marcusl/buildbot/blob/3694085c4f0bb8db6450dd9b4cf6e08147acaa30/buildbot/status/web/baseweb.py#L584 baseweb.py:584]