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): |
... | ... | |
283 | 282 |
raise errors.TraversalError() |
284 | 283 | |
285 | 284 |
self.items_dir = WorkflowItemsDir(workflow, self.status) |
286 |
get_response().breadcrumb.append((status_id + '/', self.status.name))
|
|
285 |
get_response().breadcrumb.append(('status/%s/' % status_id, _('Status: %s') % self.status.name))
|
|
287 | 286 | |
288 | 287 |
def _q_index [html] (self): |
289 | 288 |
html_top('workflows', '%s - %s' % (_('Workflow'), self.workflow.name)) |
... | ... | |
582 | 581 |
self.workflow = workflow |
583 | 582 | |
584 | 583 |
def _q_lookup(self, component): |
585 |
get_response().breadcrumb.append(('status/', _('Status'))) |
|
586 | 584 |
return WorkflowStatusPage(self.workflow, component) |
587 | 585 | |
588 | 586 |
def _q_index(self): |
589 |
- |