{% comment %} Displays the 'Days: 7 30 90 180 365 All time' filter links. Expects: * request -- The Request object. * current_days -- An integer, indicating number of days, or a string: 'all'. * valid_days -- A list of the days we list, eg [7, 30, 365, 'all',]. {% endcomment %} {% load ditto_core %}