Skip to content

Commit

Permalink
Correct html titles for hanging_protocols app (#3632)
Browse files Browse the repository at this point in the history
This is part of Task 2 under issue
#3556 aiming to make
sure the titles are clear and correct.

Each app will have a PR to make sure titles are clear and correct for
all pages that have breadcrumbs as described in issue
#3556
  • Loading branch information
ammar257ammar authored Oct 21, 2024
1 parent 2f3aea8 commit 96e0a24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% load static %}

{% block title %}
{{ object|yesno:"Update,Create" }} -{% if object %} {{ object.title }} -{% endif %} {{ block.super }}
{{ object|yesno:"Update,Create Hanging Protocol" }} {% if object %} - {{ object.title }} {% else %} - Hanging Protocols {% endif %} - {{ block.super }}
{% endblock %}

{% block breadcrumbs %}
Expand All @@ -15,7 +15,7 @@
href="{{ object.get_absolute_url }}">{{ object.title }}</a></li>
{% endif %}
<li class="breadcrumb-item active"
aria-current="page">{{ object|yesno:"Update,Create" }}</li>
aria-current="page">{{ object|yesno:"Update,Create Hanging Protocol" }}</li>
</ol>
{% endblock %}

Expand Down

0 comments on commit 96e0a24

Please sign in to comment.