Re: [Codestriker-user] Feature request
Brought to you by:
sits
|
From: Dan P. <dan...@al...> - 2005-07-28 20:03:45
|
Comments below... David Sitsky wrote: > On Thu, 28 Jul 2005 00:26, cod...@sp... wrote: > >> It would be nice to have in the config file a value to set the valid >> open states, so that when I click on List all open topics, it would >> list all valid open states. > > > > Have you seen the @readonly_states config variable? In some sense, what you are asking for is the inverse of this. > > >> Do you think that feature would be useful to other? As of now, I >> modified the template to put [0, 3] to display all open topics. > > > > Maybe you can make the code check if the state is not in @readonly_states, to get the same/similar effect? This would certainly be possible, but I'm not sure it is what everyone would want. Some installations (probably ours, for one, though it's probably not a big deal) would want the 'List open topics' link to list only topics in state 'open' and not ones in state 'Reviewed', even though both are not 'read-only' states (i.e. topics in either state can be edited). > > Failing that - perhaps you could defined a @open_states config variable. > I would vote for this option. I'm assuming it would control only the states that get displayed when you click the 'List open states' link, and would be different from @readonly_states. |