Modify

#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 months ago by jun66j5

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 months ago by ethan.jucovy@…

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

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.