Skip to content

Commit

Permalink
Fix detail templates
Browse files Browse the repository at this point in the history
* Fix inheritance after reorganizing cv/base.html and cv/skeleton.html in ddf16c0
  • Loading branch information
mikebader committed Dec 31, 2021
1 parent 1b69939 commit b92d0a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cv/templates/cv/details/book.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "cv/details/cv_detail.html" %}

{% load cvtags %}
{% load cv %}

{% with book as object %}

Expand Down
9 changes: 6 additions & 3 deletions cv/templates/cv/details/cv_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
{% load cv %}
{% load static %}

{% block centerbar %}
{% block contact %}{{block.super}}{% endblock contact %}

{% block centerbar-content %}
<h2 class="col-12">
{% block maintitle %}{{object.title}}{% endblock %}
{% if user.is_authenticated %}
Expand All @@ -22,8 +23,6 @@ <h3 class="mt-4 abstract-name">{% block abstract_name %}Abstract{% endblock abst
{% endif %}
{% endblock abstract %}

{% endblock %}

{% block details %}
{% block citation %}
<div class="col-12 citation">
Expand Down Expand Up @@ -85,3 +84,7 @@ <h3 class="mt-4">Media Mentions</h3>
</div>
{% endblock %}

{% endblock centerbar %}



2 changes: 1 addition & 1 deletion cv/templates/cv/details/talk.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "cv/details/cv_detail.html" %}

{% load cvtags %}
{% load cv %}

{% with talk as object %}

Expand Down

0 comments on commit b92d0a2

Please sign in to comment.