Skip to content

Commit

Permalink
fix(institution detail): show colloquial name if exists
Browse files Browse the repository at this point in the history
Change hardcoded name for Bower segment sources. This will be modified as part of our segment overhaul (see DDMAL#1668)
  • Loading branch information
dchiller committed Oct 15, 2024
1 parent 81f3c09 commit 147c0f4
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ <h5>Cantus Database</h5>
<table class="table table-bordered table-sm small">
<thead>
<tr>
<th>Shelfmark</th>
<th>Sources</th>
</tr>
</thead>
<tbody>
{% for source in cantus_sources %}
<tr>
<td>
<a href="{% url "source-detail" source.id %}"><b>{{ source.shelfmark }}</b></a>
<a href="{% url "source-detail" source.id %}"><b>{{ source.shelfmark }}{% if source.name %} ("{{ source.name }}"){% endif %}</b></a>
</td>
</tr>
{% endfor %}
Expand All @@ -47,18 +47,18 @@ <h5>Cantus Database</h5>

{% if num_bower_sources > 0 %}
<div class="col">
<h5>Bower Sequence Database</h5>
<h5>Clavis Sequentiarum (Sequence Database by Calvin Bower)</h5>
<table class="table table-bordered table-sm small">
<thead>
<tr>
<th>Shelfmark</th>
<th>Sources</th>
</tr>
</thead>
<tbody>
{% for source in bower_sources %}
<tr>
<td>
<a href="{% url "source-detail" source.id %}"><b>{{ source.shelfmark }}</b></a>
<a href="{% url "source-detail" source.id %}"><b>{{ source.shelfmark }}{% if source.name %} ("{{ source.name }}"){% endif %}</b></a>
</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 147c0f4

Please sign in to comment.