From: richard Date: Wed, 26 Mar 2003 10:55:45 +0000 (+0000) Subject: more flexibility in classhelp link labelling (sf feature 608204) X-Git-Url: https://git.tokkee.org/?p=roundup.git;a=commitdiff_plain;h=0cb44cfc6afb5aed7f3583e6fdcd06fc97c55b9d more flexibility in classhelp link labelling (sf feature 608204) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1637 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index edeb336..de22291 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -54,6 +54,7 @@ Feature: - roundup mailgw now handles apop - implemented ability to search for multilink properties with no value - Class.find() may now find unset Links (sf bug 700620) +- more flexibility in classhelp link labelling (sf feature 608204) Fixed: diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index a7b1490..e2d2b6c 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -420,7 +420,7 @@ class HTMLClass(HTMLPermissions): for x in self._klass.filter(None, filterspec, sort, group)] return l - def classhelp(self, properties=None, label='list', width='500', + def classhelp(self, properties=None, label='(list)', width='500', height='400', property=''): ''' Pop up a javascript window with class help @@ -443,8 +443,8 @@ class HTMLClass(HTMLPermissions): properties = ','.join(properties) if property: property = '&property=%s'%property - return '(%s)'%( + return '%s'%( self.classname, properties, property, width, height, label) def submit(self, label="Submit New Entry"): diff --git a/roundup/templates/classic/html/style.css b/roundup/templates/classic/html/style.css index da5c4c6..3360fe0 100644 --- a/roundup/templates/classic/html/style.css +++ b/roundup/templates/classic/html/style.css @@ -7,6 +7,10 @@ a[href]:hover { color:blue; text-decoration: underline; } a[href]:link { color:blue; text-decoration: none; } a[href] { color:blue; text-decoration: none; } +a.classhelp:hover { font-weight: bold; } +a.classhelp:link { font-weight: bold; } +a.classhelp { font-weight: bold; } + table.body { border: 0; padding: 0;