minor changes

This commit is contained in:
eclipse 2025-05-08 09:45:27 +02:00
parent 4a814bbfe4
commit ab014d8c66

View File

@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% set SPLIT_CHARACTER = "|" %}
{% set SPLIT_CHARACTER = ", " %}
{% block title %}Texte{% endblock title %}
@ -13,7 +13,7 @@
});
deRole("#text-table");
// create and append "New"-button to
// create "New"-element and append it to the <div> containing the DataTables search field
let a = document.createElement("a");
a.id = "create-button";
a.setAttribute("title", "Text hinzufügen");
@ -22,7 +22,8 @@
a.innerHTML = "Neu …";
document.getElementById("text-table_wrapper").firstElementChild.firstElementChild.appendChild(a);
}
</script>{% endblock script %}
</script>
{% endblock script %}
{% block heading %}Texte{% endblock heading %}
@ -38,7 +39,7 @@
<th>Reihe</th>
<th>Textform</th>
<th>Sprache</th>
<th>Genres</th>
<th>Genre(s)</th>
<th colspan="2">Aktionen</th>
</tr>
</thead>
@ -57,4 +58,4 @@
{% endfor %}
</tbody>
</table>
{% endblock content %}
{% endblock content %}