Mercurial > p > roundup > code
diff share/roundup/templates/responsive/schema.py @ 8232:d0460348bf9a
fix: issue2550924. clean up schema for devel/responsive templates.
both templates have the same schema.
Changes patches class to patch in devel schema. Change bug.issue.html
to account for patches -> patch rename. Sort property list for a
permission.
Add patch class for responsive template.
From both remove incorrect comment.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 21 Dec 2024 16:35:11 -0500 |
| parents | 984bc9f94ec6 |
| children |
line wrap: on
line diff
--- a/share/roundup/templates/responsive/schema.py Sat Dec 21 15:23:12 2024 -0500 +++ b/share/roundup/templates/responsive/schema.py Sat Dec 21 16:35:11 2024 -0500 @@ -144,7 +144,6 @@ # title = String() # messages = Multilink("msg") # files = Multilink("file") -# patches = Multilink("patches") # nosy = Multilink("user") # superseder = Multilink("issue") bug = IssueClass(db, "bug", @@ -158,7 +157,8 @@ status=Link('status'), resolution=Link('resolution'), superseder=Link('bug'), - keywords=Multilink('keyword')) + keywords=Multilink('keyword'), + patches=Multilink('patch')) # Task Type task_type = Class(db, 'task_type',
