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 #1645 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

TG2 Quickstart template uses fixed CSS link

Reported by: khorn Owned by: seanodonnell
Priority: normal Milestone: 2.0
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description (last modified by khorn) (diff)

The default quickstart template creates a fixed link to the site CSS in master.html.

This can cause the css file to be "unfindable" in certain situations. (esp when the TG app is not running as the root url of the site)

Workaround: remove slash from the beginning of the href attribute of the <link> element on line 17 of master.html

i.e.:

<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />

This should be changed to either a relative link, or to use whatever the TG2 analog to tg.url() is going to be

Change History

comment:1 Changed 11 years ago by khorn

  • Description modified (diff)

comment:2 Changed 11 years ago by khorn

this may need to wait on a fix to ticket #1649 (port tg.url() to tg2)

comment:3 Changed 11 years ago by max

  • Owner changed from anonymous to max
  • Status changed from new to assigned

well, if

comment:4 Changed 11 years ago by max

  • Owner changed from max to anonymous
  • Status changed from assigned to new

didn't make it, alas

comment:5 Changed 11 years ago by seanodonnell

  • Status changed from new to assigned
  • Owner changed from anonymous to seanodonnell

comment:6 Changed 11 years ago by seanodonnell

took ticket and discovered fix had already been made, closing

comment:7 Changed 11 years ago by seanodonnell

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.