Code

more flexibility in classhelp link labelling (sf feature 608204)
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 26 Mar 2003 10:55:45 +0000 (10:55 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 26 Mar 2003 10:55:45 +0000 (10:55 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1637 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
roundup/cgi/templating.py
roundup/templates/classic/html/style.css

index edeb336756262944e77fb0c3dc60623b0de77c63..de22291c872a330ad90e39bab7ab385ba285df18 100644 (file)
@@ -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:
index a7b1490b10185089e491c4007c2a79b78ffdf739..e2d2b6c52c260be8309db61875730f420d6b74ce 100644 (file)
@@ -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 '<a href="javascript:help_window(\'%s?:template=help&' \
-            'properties=%s%s\', \'%s\', \'%s\')"><b>(%s)</b></a>'%(
+        return '<a class="classhelp" href="javascript:help_window(\'%s?:'\
+            'template=help&properties=%s%s\', \'%s\', \'%s\')">%s</a>'%(
             self.classname, properties, property, width, height, label)
 
     def submit(self, label="Submit New Entry"):
index da5c4c60a2b030296157e73ac3d7c3b1e898794f..3360fe0175c238dba55a37df9a56f498dbc77faf 100644 (file)
@@ -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;