1
1
{% extends "single_column_with_search_bar.html" %}
2
-
3
2
{% block title %}
4
-
5
3
{% endblock %}
6
-
7
4
{% block header %}
8
- < h3 > {{ institution.name }} {% if institution.siglum %}({{ institution.siglum }}){% endif %}</ h3 >
9
- < h4 > {% if institution.city %}{{ institution.city }}{% else %}[No City]{% endif %}, {{ institution.country }}</ h4 >
5
+ < h3 >
6
+ {{ institution.name }}
7
+ {% if institution.siglum %}
8
+ ({{ institution.siglum }})
9
+ {% endif %}
10
+ </ h3 >
11
+ < h4 >
12
+ {% if institution.city %}
13
+ {{ institution.city }}
14
+ {% else %}
15
+ [No City]
16
+ {% endif %}
17
+ , {{ institution.country }}
18
+ </ h4 >
10
19
{% endblock %}
11
20
{% block maincontent %}
12
21
{% if institution_authorities %}
13
22
< hr />
14
- < div class =" row " >
15
- < div class ="col ">
16
- {% for authority in institution_authorities %}
23
+ {% for authority in institution_authorities %}
24
+ < div class ="row ">
25
+ < div class =" col " >
17
26
View this institution in < a href ="{{ authority.1 }} "> {{ authority.0 }}</ a >
18
- {% endfor %}
27
+ </ div >
19
28
</ div >
20
- </ div >
29
+ {% endfor %}
21
30
{% endif %}
22
31
< hr />
23
32
< div class ="row ">
24
33
{% if num_cantus_sources > 0 %}
25
- < div class ="col ">
26
- < h5 > Cantus Database</ h5 >
27
- < table class ="table table-bordered table-sm small ">
28
- < thead >
29
- < tr >
30
- < th > Sources</ th >
31
- </ tr >
32
- </ thead >
33
- < tbody >
34
- {% for source in cantus_sources %}
35
- < tr >
36
- < td >
37
- < a href ="{% url "source-detail " source.id %}"> < b > {{ source.shelfmark }}{% if source.name %} ("{{ source.name }}"){% endif %}</ b > </ a >
38
- </ td >
39
- </ tr >
40
- {% endfor %}
41
- </ tbody >
42
- </ table >
43
- </ div >
44
- {% endif %}
45
-
46
- {% if num_bower_sources > 0 %}
47
34
< div class ="col ">
48
- < h5 > Clavis Sequentiarum (Sequence Database by Calvin Bower)</ h5 >
35
+ < h5 >
36
+ Cantus Database
37
+ </ h5 >
49
38
< table class ="table table-bordered table-sm small ">
50
39
< thead >
51
- < tr >
52
- < th > Sources</ th >
53
- </ tr >
40
+ < tr >
41
+ < th >
42
+ Sources
43
+ </ th >
44
+ </ tr >
54
45
</ thead >
55
46
< tbody >
56
- {% for source in bower_sources %}
47
+ {% for source in cantus_sources %}
48
+ < tr >
49
+ < td >
50
+ < a href ="{% url "source-detail " source.id %}"> < b > {{ source.shelfmark }}
51
+ {% if source.name %}
52
+ ("{{ source.name }}")
53
+ {% endif %}
54
+ </ b > </ a >
55
+ </ td >
56
+ </ tr >
57
+ {% endfor %}
58
+ </ tbody >
59
+ </ table >
60
+ </ div >
61
+ {% endif %}
62
+ {% if num_bower_sources > 0 %}
63
+ < div class ="col ">
64
+ < h5 >
65
+ Clavis Sequentiarum (Sequence Database by Calvin Bower)
66
+ </ h5 >
67
+ < table class ="table table-bordered table-sm small ">
68
+ < thead >
57
69
< tr >
58
- < td >
59
- < a href =" {% url " source-detail " source.id %}" > < b > {{ source.shelfmark }}{% if source.name %} ("{{ source.name }}"){% endif %} </ b > </ a >
60
- </ td >
70
+ < th >
71
+ Sources
72
+ </ th >
61
73
</ tr >
62
- {% endfor %}
74
+ </ thead >
75
+ < tbody >
76
+ {% for source in bower_sources %}
77
+ < tr >
78
+ < td >
79
+ < a href ="{% url "source-detail " source.id %}"> < b > {{ source.shelfmark }}
80
+ {% if source.name %}
81
+ ("{{ source.name }}")
82
+ {% endif %}
83
+ </ b > </ a >
84
+ </ td >
85
+ </ tr >
86
+ {% endfor %}
63
87
</ tbody >
64
88
</ table >
65
89
</ div >
66
90
{% endif %}
67
91
</ div >
68
- {% endblock %}
92
+ {% endblock %}
0 commit comments