Mercurial > p > roundup > code
diff roundup/htmltemplate.py @ 316:c0ca7f35e0c5
Added configuration for:
. anonymous user access and registration (deny/allow)
. filter "widget" location on index page (top, bottom, both)
Updated some documentation.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 22 Oct 2001 03:25:01 +0000 |
| parents | 489b70c37f32 |
| children | e18dd7227780 |
line wrap: on
line diff
--- a/roundup/htmltemplate.py Sun Oct 21 11:42:15 2001 +0000 +++ b/roundup/htmltemplate.py Mon Oct 22 03:25:01 2001 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.31 2001-10-21 07:26:35 richard Exp $ +# $Id: htmltemplate.py,v 1.32 2001-10-22 03:25:01 richard Exp $ import os, re, StringIO, urllib, cgi, errno @@ -566,8 +566,9 @@ columns = l # display the filter section - filter_section(w, cl, filter, columns, group, all_filters, all_columns, - show_display_form, show_customization) + if hasattr(client, 'FILTER_POSITION') and client.FILTER_POSITION in ('top and bottom', 'top'): + filter_section(w, cl, filter, columns, group, all_filters, all_columns, + show_display_form, show_customization) # now display the index section w('<table width=100% border=0 cellspacing=0 cellpadding=2>\n') @@ -637,6 +638,11 @@ w('</table>') + # display the filter section + if hasattr(client, 'FILTER_POSITION') and client.FILTER_POSITION in ('top and bottom', 'bottom'): + filter_section(w, cl, filter, columns, group, all_filters, all_columns, + show_display_form, show_customization) + def filter_section(w, cl, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): @@ -833,6 +839,11 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.31 2001/10/21 07:26:35 richard +# feature #473127: Filenames. I modified the file.index and htmltemplate +# source so that the filename is used in the link and the creation +# information is displayed. +# # Revision 1.30 2001/10/21 04:44:50 richard # bug #473124: UI inconsistency with Link fields. # This also prompted me to fix a fairly long-standing usability issue -
