From 3d170487eb693dd3acac41621bf9d7710d0bde34 Mon Sep 17 00:00:00 2001 From: Inga Kirschnick Date: Fri, 18 Nov 2022 13:36:58 +0100 Subject: [PATCH] Update breadcrumbs contributions package --- .../contributions/_breadcrumbs.html.j2 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/app/templates/contributions/_breadcrumbs.html.j2 b/app/templates/contributions/_breadcrumbs.html.j2 index 21f27789..b19de6aa 100644 --- a/app/templates/contributions/_breadcrumbs.html.j2 +++ b/app/templates/contributions/_breadcrumbs.html.j2 @@ -2,18 +2,31 @@
  • navigate_next
  • {% if request.path == url_for('.contributions') %}
  • Contributions Overview
  • - +{% elif request.path == url_for('.tesseract_ocr_pipeline_models')%} +
  • Contributions Overview
  • +
  • navigate_next
  • +
  • Tesseract OCR Pipeline Models
  • +{% elif request.path == url_for('.spacy_nlp_pipeline_models')%} +
  • Contributions Overview
  • +
  • navigate_next
  • +
  • SpaCy NLP Pipeline Models
  • {% elif request.path == url_for('.create_tesseract_ocr_pipeline_model') %}
  • Contributions Overview
  • navigate_next
  • +
  • Tesseract OCR Pipeline Models
  • +
  • navigate_next
  • {{ title }}
  • {% elif request.path == url_for('.create_spacy_nlp_pipeline_model') %}
  • Contributions Overview
  • navigate_next
  • +
  • SpaCy NLP Pipeline Models
  • +
  • navigate_next
  • {{ title }}
  • {% elif tesseract_ocr_pipeline_model and request.path == url_for('.tesseract_ocr_pipeline_model', tesseract_ocr_pipeline_model_id=tesseract_ocr_pipeline_model.id) %}
  • Contributions Overview
  • navigate_next
  • +
  • Tesseract OCR Pipeline Models
  • +
  • navigate_next
  • Edit {{ tesseract_ocr_pipeline_model.title }} @@ -22,6 +35,8 @@ {% elif spacy_nlp_pipeline_model and request.path == url_for('.spacy_nlp_pipeline_model', spacy_nlp_pipeline_model_id=spacy_nlp_pipeline_model.id) %}
  • Contributions Overview
  • navigate_next
  • +
  • SpaCy NLP Pipeline Models
  • +
  • navigate_next
  • Edit {{ spacy_nlp_pipeline_model.title }}