Ignore:
Timestamp:
Dec 23, 2011, 8:31:50 AM (13 years ago)
Author:
rick
Message:

Correct annoying typo in naming of the acces*s* point.

Location:
src/django_gheat/wlheatmap
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/filters.py

    r9778 r9819  
    1818    sum_ssid = set()
    1919    for mr in MeetRondje.objects.filter(gebruiker=user).order_by('naam'):
    20       # Get list if accespoints found in the specific 'Meting', and make this is list.
     20      # Get list if accesspoints found in the specific 'Meting', and make this is list.
    2121      wirelessleiden_ssid = Meting.objects.filter(meetrondje=mr,
    22         accespoint__organization__name__startswith='Wireless').\
    23         values_list('accespoint__ssid',flat=True).\
    24         order_by('accespoint__ssid').distinct()
     22        accesspoint__organization__name__startswith='Wireless').\
     23        values_list('accesspoint__ssid',flat=True).\
     24        order_by('accesspoint__ssid').distinct()
    2525      # The explicit cast to list is required as django lists are special and
    2626      # cannot be handled by simplejson.
  • src/django_gheat/wlheatmap/nodelist.py

    r9596 r9819  
    4747  })
    4848
    49   objquery = Accespoint.objects.filter(**filter).distinct()
     49  objquery = Accesspoint.objects.filter(**filter).distinct()
    5050  nodelist = serializers.serialize('json', objquery, fields=('fields','ssid'))
    5151
  • src/django_gheat/wlheatmap/static/heatmap_extensions.js

    r9816 r9819  
    313313          initialize: function(name, options) {
    314314            var url = [
    315               "tile/${z}/${x},${y}.png?&colour=" + colour + "&accespoint__ssid=" + node
     315              "tile/${z}/${x},${y}.png?&colour=" + colour + "&accesspoint__ssid=" + node
    316316            ];
    317317            options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options);
     
    357357    }
    358358    if (wlnode != 'all') {
    359       query_array.push('accespoint__ssid=' + wlnode);
     359      query_array.push('accesspoint__ssid=' + wlnode);
    360360    }
    361361    if (nodetype) {
  • src/django_gheat/wlheatmap/templates/home.html

    r9816 r9819  
    4747          <select id="select_node" style="width:104px"></select> Node<br />
    4848          <select id="select_nodetype" style="width:104px">
    49             <option value="accespoint__ssid__icontains=ap-WirelessLeiden">WL Nodes</option>
    50             <option value="accespoint__ssid__icontains=WirelessLeiden">WL Nodes &amp; WL InterLinks</option>
     49            <option value="accesspoint__ssid__icontains=ap-WirelessLeiden">WL Nodes</option>
     50            <option value="accesspoint__ssid__icontains=WirelessLeiden">WL Nodes &amp; WL InterLinks</option>
    5151            <option value="">Alle AccessPoints (ook niet WL)</option>
    5252          </select> Type<br />
  • src/django_gheat/wlheatmap/templates/js/LayerBase.js

    r9653 r9819  
    162162
    163163/**
    164  * All accespoints
     164 * All accesspoints
    165165 */
    166166OpenLayers.Layer.OSM.Overlay2 = OpenLayers.Class(OpenLayers.Layer.OSM, {
     
    182182    initialize: function(name, options) {
    183183        var url = get_balanced_urls('{{ settings.DJANGO_CDN_DOMAINS_PROTOCOL }}', {{ settings.DJANGO_CDN_DOMAINS|safe }},
    184           '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=255,0,0&accespoint__organization__name__startswith=Wireless');
     184          '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=255,0,0&accesspoint__organization__name__startswith=Wireless');
    185185        options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options);
    186186        var newArguments = [name, url, options];
Note: See TracChangeset for help on using the changeset viewer.