0001-admin-reduce-number-of-breadcrumbs-in-workflows-admi.patch
wcs/admin/workflows.ptl | ||
---|---|---|
205 | 205 |
raise errors.TraversalError() |
206 | 206 |
self.workflow = workflow |
207 | 207 |
self.status = status |
208 |
get_response().breadcrumb.append((component + '/', self.item.description))
|
|
208 |
get_response().breadcrumb.append(('items/%s/' % component, self.item.description))
|
|
209 | 209 | |
210 | 210 |
def _q_index [html] (self): |
211 | 211 |
request = get_request() |
... | ... | |
264 | 264 |
self.status = status |
265 | 265 | |
266 | 266 |
def _q_lookup(self, component): |
267 |
get_response().breadcrumb.append(('items/', _('Items'))) |
|
268 | 267 |
return WorkflowItemPage(self.workflow, self.status, component) |
269 | 268 | |
270 | 269 |
def _q_index(self): |
... | ... | |
282 | 281 |
raise errors.TraversalError() |
283 | 282 | |
284 | 283 |
self.items_dir = WorkflowItemsDir(workflow, self.status) |
285 |
get_response().breadcrumb.append((status_id + '/', self.status.name))
|
|
284 |
get_response().breadcrumb.append(('status/%s/' % status_id, _('Status: %s') % self.status.name))
|
|
286 | 285 | |
287 | 286 |
def _q_index [html] (self): |
288 | 287 |
html_top('workflows', '%s - %s' % (_('Workflow'), self.workflow.name)) |
... | ... | |
561 | 560 |
self.workflow = workflow |
562 | 561 | |
563 | 562 |
def _q_lookup(self, component): |
564 |
get_response().breadcrumb.append(('status/', _('Status'))) |
|
565 | 563 |
return WorkflowStatusPage(self.workflow, component) |
566 | 564 | |
567 | 565 |
def _q_index(self): |
568 |
- |