Projet

Général

Profil

Bug #17194

manager : parler d'utilisateurs et non d'objets

Ajouté par Frédéric Péters il y a presque 7 ans. Mis à jour il y a plus de 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
26 juin 2017
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Dans src/authentic2/manager/templates/authentic2/manager/user_detail.html :

  {% if view.can_delete %}
    <a rel="popup" href="{% url "a2-manager-user-delete" pk=object.pk %}">{% trans "Delete" %}</a>
  {% else %}
    <a class="disabled" title="{% trans "You do not have the rights to delete this object." %}" href="#">{% trans "Delete" %}</a>
  {% endif %}

  {% if view.can_change %}
    <a rel="popup" href="{% url "a2-manager-user-edit" pk=object.pk %}">{% trans "Edit" %}</a>
  {% else %}
    <a class="disabled" title="{% trans "You do not have the rights to edit this object." %}" href="#">{% trans "Edit" %}</a>
  {% endif %}

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Nouveau à Fermé
commit d79434dac91495a845508d2bb6a25fae4ecd5525
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Mon Jun 26 02:21:54 2017 +0200

    manager: add a UserDetailView (#18901)

Formats disponibles : Atom PDF