Skip to content

Commit

Permalink
feat: 📈 default katalogus view to boefje (#3394)
Browse files Browse the repository at this point in the history
Co-authored-by: ammar92 <ammar.abdulamir@gmail.com>
Co-authored-by: Jan Klopper <janklopper+underdark@gmail.com>
  • Loading branch information
3 people authored Aug 28, 2024
1 parent 4fa0bd9 commit 75a171f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions rocky/katalogus/templates/partials/plugins_navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<div>
<nav class="tabs" aria-label="{% translate "Plugins Navigation" %}">
<ul>
<li {% if active == "all" %}aria-current="page"{% endif %}>
<a href="{% url 'katalogus' organization.code view_type %}">{% translate "All" %}</a>
</li>
<li {% if active == "boefjes" %}aria-current="page"{% endif %}>
<a href="{% url 'boefjes_list' organization.code view_type %}">{% translate "Boefjes" %}</a>
</li>
<li {% if active == "normalizers" %}aria-current="page"{% endif %}>
<a href="{% url 'normalizers_list' organization.code view_type %}">{% translate "Normalizers" %}</a>
</li>
<li {% if active == "all" %}aria-current="page"{% endif %}>
<a href="{% url 'katalogus' organization.code view_type %}">{% translate "All" %}</a>
</li>
<li {% if active == "about-plugins" %}aria-current="page"{% endif %}>
<a href="{% url 'about_plugins' organization.code %}">{% translate "About plugins" %}</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion rocky/katalogus/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from katalogus.views.plugin_settings_delete import PluginSettingsDeleteView

urlpatterns = [
path("", KATalogusView.as_view(), name="katalogus"),
path("", BoefjeListView.as_view(), name="katalogus"),
path("view/<view_type>/", KATalogusView.as_view(), name="katalogus"),
path(
"settings/",
Expand Down
12 changes: 6 additions & 6 deletions rocky/rocky/locale/django.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-22 09:47+0000\n"
"POT-Creation-Date: 2024-08-27 13:18+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -1025,11 +1025,6 @@ msgstr ""
msgid "Plugins Navigation"
msgstr ""

#: katalogus/templates/partials/plugins_navigation.html
#: tools/forms/scheduler.py
msgid "All"
msgstr ""

#: katalogus/templates/partials/plugins_navigation.html
#: rocky/templates/scan.html rocky/templates/tasks/boefjes.html
#: rocky/templates/tasks/partials/tab_navigation.html
Expand All @@ -1042,6 +1037,11 @@ msgstr ""
msgid "Normalizers"
msgstr ""

#: katalogus/templates/partials/plugins_navigation.html
#: tools/forms/scheduler.py
msgid "All"
msgstr ""

#: katalogus/templates/plugin_settings_add.html
msgid ""
"\n"
Expand Down

0 comments on commit 75a171f

Please sign in to comment.