Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2381 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

TG 1.1 quickstart template does not use "now" passed by controller

Reported by: chrisz Owned by: Chris Arndt
Priority: normal Milestone: 1.1
Component: TurboGears Version: 1.1rc1
Severity: minor Keywords: quickstart
Cc:

Description

The TG 1.0 quickstart templates displayed the current time using the "now" parameter passed to the welcome template. This obviously served to demonstrate the important feature of passing values to the template. However, in TG 1.1, the "now" value is not displayed any more by the welcome template, so new user will be confused by that. We should either remove "now" from the controller, or display it again in the welcome template.

Attachments

patch_now.diff Download (524 bytes) - added by chrisz 10 years ago.
suggested patch (display "now" in the welcome template)

Change History

comment:1 Changed 10 years ago by chrisz

Even worse, the welcome template has a function format_date() which is not used at all.

Changed 10 years ago by chrisz

suggested patch (display "now" in the welcome template)

comment:2 Changed 10 years ago by Chris Arndt

  • Status changed from new to assigned
  • Owner set to Chris Arndt

comment:3 Changed 10 years ago by Chris Arndt

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r6754.

Note: See TracTickets for help on using tickets.