|
a/Allura/allura/lib/widgets/discuss.py |
|
b/Allura/allura/lib/widgets/discuss.py |
|
... |
|
... |
251 |
limit=25,
|
251 |
limit=25,
|
252 |
show_subject=False,
|
252 |
show_subject=False,
|
253 |
suppress_promote=False)
|
253 |
suppress_promote=False)
|
254 |
widgets=dict(
|
254 |
widgets=dict(
|
255 |
moderate_post=ModeratePost(),
|
255 |
moderate_post=ModeratePost(),
|
256 |
edit_post=EditPost(submit_text='Save'),
|
256 |
edit_post=EditPost(submit_text='Post'),
|
257 |
attach_post=AttachPost(submit_text='Attach'),
|
257 |
attach_post=AttachPost(submit_text='Attach'),
|
258 |
attachment=Attachment())
|
258 |
attachment=Attachment())
|
259 |
def resources(self):
|
259 |
def resources(self):
|
260 |
for r in super(Post, self).resources(): yield r
|
260 |
for r in super(Post, self).resources(): yield r
|
261 |
for w in self.widgets.itervalues():
|
261 |
for w in self.widgets.itervalues():
|