diff --git a/ram/portal/templates/books.html b/ram/portal/templates/books.html index 8b332a9..63998a8 100644 --- a/ram/portal/templates/books.html +++ b/ram/portal/templates/books.html @@ -46,11 +46,11 @@ Pages - {{ d.number_of_pages }} + {{ d.number_of_pages|default:"-" }} Year - {{ d.publication_year }} + {{ d.publication_year|default:"-" }} diff --git a/ram/portal/templates/bookshelf_menu.html b/ram/portal/templates/bookshelf_menu.html index 6d209a8..9c67e19 100644 --- a/ram/portal/templates/bookshelf_menu.html +++ b/ram/portal/templates/bookshelf_menu.html @@ -1,9 +1,9 @@ {% if bookshelf_menu %}