set "no publisher" defaults
parent
4612b2162c
commit
13f30b7de8
|
@ -20,7 +20,7 @@ DOAB Link Checking Problems by Publisher
|
|||
</tr>
|
||||
{% for pub in pubs %}
|
||||
<tr style="color:red">
|
||||
<td> <a href="{% url 'publisher' pub.items__publisher_name %}">{{ pub.items__publisher_name }}</a> </td>
|
||||
<td> <a href="{% url 'publisher' pub.items__publisher_name|default:'*** no publisher name ***' %}">{{ pub.items__publisher_name|default:'*** no publisher name ***' }}</a> </td>
|
||||
<td> {{ pub.items__publisher_name__count }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<div class="content">
|
||||
<h2>
|
||||
DOAB Linkchecking for
|
||||
{{ publisher }} ({{ count|default:0 }} links)
|
||||
{{ publisher|default:'*** no publisher name ***' }} ({{ count|default:0 }} links)
|
||||
</h2>
|
||||
|
||||
<h3>Link checking summary</h3>
|
||||
|
|
Loading…
Reference in New Issue