Modify

Opened 11 years ago

Closed 11 years ago

#11391 closed defect (fixed)

HTTPS option needed

Reported by: anonymous Owned by: ejucovy
Priority: normal Component: LighterTheme
Severity: normal Keywords:
Cc: Trac Release:

Description

My trac server is in HTTPS so the fonts are not downloading.

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by Jun Omae

The workaround is to add the following to your trac.ini.

[lightertheme]
extra_stylesheets = //fonts.googleapis.com/css?family=Ubuntu

Also, proposed patch would be good for both HTTP and HTTPS.

  • lightertheme/__init__.py

    diff --git a/lightertheme/__init__.py b/lightertheme/__init__.py
    index e1b654a..f337e2f 100644
    a b class Theme(Component): 
    1515
    1616    extra_stylesheets = ListOption(
    1717        'lightertheme', 'extra_stylesheets',
    18         'http://fonts.googleapis.com/css?family=Ubuntu')
     18        '//fonts.googleapis.com/css?family=Ubuntu')
    1919    main_text_font_family = Option(
    2020        'lightertheme', 'main_text_font_family', 'Ubuntu')
    2121

comment:2 Changed 11 years ago by ethan.jucovy@…

Resolution: fixed
Status: newclosed

Thanks, I've applied the patch in 5562c33f6a8aff9434a800c53fdbbb3be39b309a and released version 0.3.1 with this fix.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ejucovy.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.