diff --git a/logs/templates/logs/sidebar.html b/logs/templates/logs/sidebar.html index 5037337..8ad6516 100644 --- a/logs/templates/logs/sidebar.html +++ b/logs/templates/logs/sidebar.html @@ -23,9 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} - {% block sidebar %} - {% if is_perm %} Évènements @@ -34,6 +32,4 @@ with this program; if not, write to the Free Software Foundation, Inc., Actions sur la bdd - - {% endif %} {% endblock %} diff --git a/med/context_processors.py b/med/context_processors.py deleted file mode 100644 index 880fd9b..0000000 --- a/med/context_processors.py +++ /dev/null @@ -1,5 +0,0 @@ -def context_user(request): - is_perm = request.user.has_perms(['perm']) - return { - 'is_perm': is_perm, - }