mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
32 lines
2.1 KiB
Django/Jinja
32 lines
2.1 KiB
Django/Jinja
{% set breadcrumbs %}
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
{% if request.path == url_for('.contributions') %}
|
|
<li class="tab"><a class="active" href="{{ url_for('.contributions') }}" target="_self">Contributions Overview</a></li>
|
|
|
|
{% elif request.path == url_for('.add_tesseract_ocr_pipeline_model') %}
|
|
<li class="tab"><a href="{{ url_for('.contributions') }}" target="_self">Contributions Overview</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab"><a class="active" href="{{ url_for('.add_tesseract_ocr_pipeline_model') }}" target="_self">{{ title }}</a></li>
|
|
{% elif request.path == url_for('.add_spacy_nlp_pipeline_model') %}
|
|
<li class="tab"><a href="{{ url_for('.contributions') }}" target="_self">Contributions Overview</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab"><a class="active" href="{{ url_for('.add_spacy_nlp_pipeline_model') }}" target="_self">{{ title }}</a></li>
|
|
{% elif tesseract_ocr_pipeline_model and request.path == url_for('.tesseract_ocr_pipeline_model', tesseract_ocr_pipeline_model_id=tesseract_ocr_pipeline_model.id) %}
|
|
<li class="tab"><a href="{{ url_for('.contributions') }}" target="_self">Contributions Overview</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab">
|
|
<a class="active" href="{{ url_for('.tesseract_ocr_pipeline_model', tesseract_ocr_pipeline_model_id=tesseract_ocr_pipeline_model.id) }}" target="_self">
|
|
Edit {{ tesseract_ocr_pipeline_model.title }}
|
|
</a>
|
|
</li>
|
|
{% elif spacy_nlp_pipeline_model and request.path == url_for('.spacy_nlp_pipeline_model', spacy_nlp_pipeline_model_id=spacy_nlp_pipeline_model.id) %}
|
|
<li class="tab"><a href="{{ url_for('.contributions') }}" target="_self">Contributions Overview</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab">
|
|
<a class="active" href="{{ url_for('.spacy_nlp_pipeline_model', spacy_nlp_pipeline_model_id=spacy_nlp_pipeline_model.id) }}" target="_self">
|
|
Edit {{ spacy_nlp_pipeline_model.title }}
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endset %}
|