Skip to content

Commit

Permalink
Update titles
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar257ammar committed Oct 16, 2024
1 parent c91e670 commit 228c0c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% load crispy_forms_tags %}

{% block title %}
{{ object|yesno:"Update,Create" }} -{% if object %} {{ object.title }} -{% endif %} {{ block.super }}
{{ object|yesno:"Update,Create Organization" }} {% if object %} {{ object.title }} {% endif %} - Organizations - {{ block.super }}
{% endblock %}

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
{% load url %}

{% block title %}
Add user - {% firstof object.title object %} - {{ block.super }}
Add User - {% firstof object.title object %} - {{ block.super }}
{% endblock %}

{% block breadcrumbs %}
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{% url 'organizations:list' %}">Organizations</a></li>
<li class="breadcrumb-item"><a href="{{ object.get_absolute_url }}">{% firstof object.title object %}</a></li>
<li class="breadcrumb-item active" aria-current="page">Add user</li>
<li class="breadcrumb-item active" aria-current="page">Add User</li>
</ol>
{% endblock %}

0 comments on commit 228c0c2

Please sign in to comment.