forked from DGNum/gestiojeux
feat(FORK): Disable suggestions
This commit is contained in:
parent
89f2808087
commit
1f8a03bdab
|
@ -88,7 +88,7 @@ INSTALLED_APPS = [
|
||||||
"accounts",
|
"accounts",
|
||||||
"comments",
|
"comments",
|
||||||
"inventory",
|
"inventory",
|
||||||
"suggestions",
|
# "suggestions",
|
||||||
"loans",
|
"loans",
|
||||||
"django_cleanup", # Keep last
|
"django_cleanup", # Keep last
|
||||||
"authens",
|
"authens",
|
||||||
|
|
|
@ -22,7 +22,7 @@ urlpatterns = [
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path("markdownx/", include("markdownx.urls")),
|
path("markdownx/", include("markdownx.urls")),
|
||||||
path("inventory/", include("inventory.urls")),
|
path("inventory/", include("inventory.urls")),
|
||||||
path("suggestions/", include("suggestions.urls")),
|
# path("suggestions/", include("suggestions.urls")),
|
||||||
path("account/", include("accounts.urls")),
|
path("account/", include("accounts.urls")),
|
||||||
path("authens/", include("authens.urls")),
|
path("authens/", include("authens.urls")),
|
||||||
path("", include("website.urls")),
|
path("", include("website.urls")),
|
||||||
|
|
|
@ -10,7 +10,9 @@
|
||||||
<div>
|
<div>
|
||||||
<a {% if url_name == "home" %}class="current"{% endif %} href="{% url "website:home" %}"><i class="fa fa-home" aria-hidden="true"></i></a>
|
<a {% if url_name == "home" %}class="current"{% endif %} href="{% url "website:home" %}"><i class="fa fa-home" aria-hidden="true"></i></a>
|
||||||
<a {% if url_name == "inventory" %}class="current"{% endif %} href="{% url "inventory:inventory" %}">Inventaire</a>
|
<a {% if url_name == "inventory" %}class="current"{% endif %} href="{% url "inventory:inventory" %}">Inventaire</a>
|
||||||
|
{% comment %}
|
||||||
<a {% if url_name == "suggestions" %}class="current"{% endif %} href="{% url "suggestions:suggestions" %}">Suggestions</a>
|
<a {% if url_name == "suggestions" %}class="current"{% endif %} href="{% url "suggestions:suggestions" %}">Suggestions</a>
|
||||||
|
{% endcomment %}
|
||||||
{% if perms.inventory.can_see_loan_details %}
|
{% if perms.inventory.can_see_loan_details %}
|
||||||
<a href={% url "inventory:all_loans" %}>Gestion des emprunts</a>
|
<a href={% url "inventory:all_loans" %}>Gestion des emprunts</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue