diff --git a/docker/settings_local.template.py b/docker/settings_local.template.py index a687a35a..42585d63 100644 --- a/docker/settings_local.template.py +++ b/docker/settings_local.template.py @@ -100,5 +100,5 @@ OPTIONNAL_APPS_RE2O = () # Some Django apps you want to add in you local project OPTIONNAL_APPS = OPTIONNAL_APPS_RE2O + () -# Some optinnal link for the navbar in a tuple (link,icon class,text) +# Some optinnal link for the navbar in a tuple (link,icon class,text,position (left or right)) NAVBAR_LINKS = () \ No newline at end of file diff --git a/re2o/settings_local.example.py b/re2o/settings_local.example.py index e1ec3d3e..a23dbd54 100644 --- a/re2o/settings_local.example.py +++ b/re2o/settings_local.example.py @@ -118,7 +118,7 @@ OPTIONNAL_APPS_RE2O = () # Some Django apps you want to add in you local project OPTIONNAL_APPS = OPTIONNAL_APPS_RE2O + () -# Some optinnal link for the navbar in a tuple (link,icon class,text) +# Some optinnal link for the navbar in a tuple (link,icon class,text,position (left or right)) NAVBAR_LINKS= () # Add statiffiles dir that were installed using system packaging diff --git a/re2o/templatetags/custom_link.py b/re2o/templatetags/custom_link.py index 7b51897a..2de28981 100644 --- a/re2o/templatetags/custom_link.py +++ b/re2o/templatetags/custom_link.py @@ -23,7 +23,7 @@ from django.conf import settings register = template.Library() @register.simple_tag -def nav_link(): +def nav_link(position): template = """