Changeset 1050

Show
Ignore:
Timestamp:
06/09/07 20:10:30 (18 months ago)
Author:
ilmari
Message:

Only display the google maps preference if node maps are enabled (fixes #192)

Location:
trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r1046 r1050  
    1212        Remove misleading CSS examples 
    1313        Support alternative database ports 
     14        Only display the google maps preference if node maps are enabled 
     15          (#192). 
    1416 
    15170.60    13 May 2007 
  • trunk/MANIFEST

    r1049 r1050  
    123123t/57_random_page.t 
    124124t/58_recent_changes_navbar.t 
     125t/59_preferences.t 
    125126t/61_bug_textareas.t 
    126127t/62_bug_trailing_whitespace.t 
  • trunk/templates/preferences.tt

    r849 r1050  
    6767    </p> 
    6868 
    69     [% IF gmaps_api_key %] 
     69    [% IF gmaps_api_key AND config.show_gmap_in_node_display %] 
    7070      <p> 
    7171        [% IF display_google_maps %] 
     
    153153  be tracked.</p> 
    154154 
    155   [% IF gmaps_api_key %] 
     155  [% IF gmaps_api_key AND config.show_gmap_in_node_display %] 
    156156    <p>Google Maps will 
    157157      [% UNLESS display_google_maps %] not [% END %]