diff --git a/.djlintrc b/.djlintrc index 2d4ed1f..1442d76 100644 --- a/.djlintrc +++ b/.djlintrc @@ -9,12 +9,5 @@ "blank_line_after_tag": "load,extends,include,endblock", "ignore": "H006,H016,H021,H025,H030,H031", "close_void_tags": true, - "format_css": true, - "css": { - "indent_size": 2 - }, - "format_js": true, - "js": { - "indent_size": 2 - } + "max_line_length": "80" } diff --git a/web-app/django/VIM/apps/instruments/templates/instruments/detail.html b/web-app/django/VIM/apps/instruments/templates/instruments/detail.html index 2f32226..2fe1dc7 100644 --- a/web-app/django/VIM/apps/instruments/templates/instruments/detail.html +++ b/web-app/django/VIM/apps/instruments/templates/instruments/detail.html @@ -1,155 +1,157 @@ -{% extends "base.html" %} - -{% load static %} - -{% block title %} - Instrument Detail -{% endblock title %} - -{% block css_files %} - - -{% endblock css_files %} - -{% block content %} -
Wikidata ID | -
-
-
-
- |
- ||||||
---|---|---|---|---|---|---|---|
Hornbostel-Sachs Classification | -
-
-
-
- {{ instrument.hornbostel_sachs_class }}
-
- |
- ||||||
MIMO Classification | -
-
-
-
- |
- ||||||
Instrument Names in Different Languages | -
-
|
- ||||||
Image | -
-
-
-
-
-
-
- |
-
Wikidata ID | +
+
+
+
+ |
+ ||||||
---|---|---|---|---|---|---|---|
Hornbostel-Sachs Classification | +
+
+
+
+ {{ instrument.hornbostel_sachs_class }}
+
+ |
+ ||||||
MIMO Classification | +
+
+
+
+ |
+ ||||||
Instrument Names in Different Languages | +
+
|
+ ||||||
Image | +
+
+
+
+
+
+
+ |
+
{% for instrumentname in instrument.instrumentname_set.all %} - {% if instrumentname.language.en_label == active_language.en_label %}{{ instrumentname.name|title }}{% endif %} + {% if instrumentname.language.en_label == active_language.en_label %} + {{ instrumentname.name|title }} + {% endif %} {% endfor %}
{% for instrumentname in instrument.instrumentname_set.all %} - {% if instrumentname.language.en_label == active_language.en_label %}{{ instrumentname.name|title }}{% endif %} + {% if instrumentname.language.en_label == active_language.en_label %} + {{ instrumentname.name|title }} + {% endif %} {% endfor %}