{% endfor %}
diff --git a/django/cantusdb_project/main_app/templates/full_index.html b/django/cantusdb_project/main_app/templates/full_inventory.html
similarity index 100%
rename from django/cantusdb_project/main_app/templates/full_index.html
rename to django/cantusdb_project/main_app/templates/full_inventory.html
diff --git a/django/cantusdb_project/main_app/templates/source_detail.html b/django/cantusdb_project/main_app/templates/source_detail.html
index 0ed612cfe..c519a2429 100644
--- a/django/cantusdb_project/main_app/templates/source_detail.html
+++ b/django/cantusdb_project/main_app/templates/source_detail.html
@@ -191,9 +191,9 @@
{{ source.siglum }}
{% if source.segment.id == 4063 %}
{# only display this link for sources in the CANTUS segment #}
- View all chants
+ View all chants
{% endif %}
- View full inventory
+ View full inventoryCSV exportSearch chants in this manuscript
{% if source.image_link %}
diff --git a/django/cantusdb_project/main_app/templates/source_edit.html b/django/cantusdb_project/main_app/templates/source_edit.html
index 360ede07a..adc6a539a 100644
--- a/django/cantusdb_project/main_app/templates/source_edit.html
+++ b/django/cantusdb_project/main_app/templates/source_edit.html
@@ -258,9 +258,9 @@
"
- self.assertIn(expected_html_substring, html)
-
- def test_mode_column(self):
- source = make_fake_source(published=True)
- chant = make_fake_chant(
- source=source,
- )
- mode = "this is the mode" # not a representative value, but
- # single numerals are found elsewhere in the template
- chant.mode = mode
- chant.save()
- response = self.client.get(reverse("chant-index"), {"source": source.id})
- html = str(response.content)
- self.assertIn(mode, html)
- expected_html_substring = f"
{mode}
"
- self.assertIn(expected_html_substring, html)
-
- def test_diff_column(self):
- source = make_fake_source(published=True)
- differentia = "this is a differentia" # not a representative value, but
- # most differentia are one or two characters, likely to be found elsewhere
- # in the template
- make_fake_chant(
- source=source,
- differentia=differentia,
- )
- response = self.client.get(reverse("chant-index"), {"source": source.id})
- html = str(response.content)
- self.assertIn(differentia, html)
- expected_html_substring = f"
"
+ self.assertIn(expected_html_substring, html)
+
+ def test_mode_column(self):
+ source = make_fake_source(published=True)
+ chant = make_fake_chant(
+ source=source,
+ )
+ mode = "this is the mode" # not a representative value, but
+ # single numerals are found elsewhere in the template
+ chant.mode = mode
+ chant.save()
+ response = self.client.get(reverse("source-inventory", args=[source.id]))
+ html = str(response.content)
+ self.assertIn(mode, html)
+ expected_html_substring = f"
{mode}
"
+ self.assertIn(expected_html_substring, html)
+
+ def test_diff_column(self):
+ source = make_fake_source(published=True)
+ differentia = "this is a differentia" # not a representative value, but
+ # most differentia are one or two characters, likely to be found elsewhere
+ # in the template
+ make_fake_chant(
+ source=source,
+ differentia=differentia,
+ )
+ response = self.client.get(reverse("source-inventory", args=[source.id]))
+ html = str(response.content)
+ self.assertIn(differentia, html)
+ expected_html_substring = f"