diff --git a/rocky/katalogus/templates/partials/katalogus_toolbar.html b/rocky/katalogus/templates/partials/katalogus_toolbar.html index b9a7b313009..cea35c9210b 100644 --- a/rocky/katalogus/templates/partials/katalogus_toolbar.html +++ b/rocky/katalogus/templates/partials/katalogus_toolbar.html @@ -2,9 +2,9 @@ {% if object_list %}
- {% translate "Gridview" %} - {% translate "Tableview" %} + {% translate "Gridview" %} + {% translate "Tableview" %}
{% endif %} diff --git a/rocky/katalogus/templates/partials/plugins.html b/rocky/katalogus/templates/partials/plugins.html index e3523b9dcf9..77fcff95dc2 100644 --- a/rocky/katalogus/templates/partials/plugins.html +++ b/rocky/katalogus/templates/partials/plugins.html @@ -1,7 +1,7 @@ {% load i18n %} {% load static %} -{% if view.kwargs.view == "tableview" %} +{% if view_type == "table" %}
diff --git a/rocky/katalogus/templates/partials/plugins_navigation.html b/rocky/katalogus/templates/partials/plugins_navigation.html index 078d537a81c..05a2ba9f403 100644 --- a/rocky/katalogus/templates/partials/plugins_navigation.html +++ b/rocky/katalogus/templates/partials/plugins_navigation.html @@ -4,13 +4,13 @@
{% translate "Plugins overview:" %}