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 30e9454
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 @@ -2,13 +2,13 @@
{% load url %}

{% block title %}
Add author - {{ object.title }} - {{ block.super }}
Add Author - {{ object.title }} - {{ block.super }}
{% endblock %}

{% block breadcrumbs %}
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{% url 'blogs:list' %}">Blogs</a></li>
<li class="breadcrumb-item"><a href="{{ object.get_absolute_url }}">{{ object.title }}</a></li>
<li class="breadcrumb-item active" aria-current="page">Add author</li>
<li class="breadcrumb-item active" aria-current="page">Add Author</li>
</ol>
{% endblock %}
4 changes: 2 additions & 2 deletions app/grandchallenge/blogs/templates/blogs/post_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% load url %}

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

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

Expand Down

0 comments on commit 30e9454

Please sign in to comment.