Commit 98131ef3 authored by LEVY-FALK Hugo's avatar LEVY-FALK Hugo Committed by root

Affiche le shell de l'utilisateur s'il existe.

parent c1cda185
...@@ -136,6 +136,10 @@ with this program; if not, write to the Free Software Foundation, Inc., ...@@ -136,6 +136,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td>{{ user.solde }} €</td> <td>{{ user.solde }} €</td>
</tr> </tr>
{% endif %} {% endif %}
{% if user.shell %}
<th>Shell</th>
<td>{{ user.shell }}</td>
{% endif %}
</table> </table>
<h2>Machines :</h2> <h2>Machines :</h2>
<h4><a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' user.id %}"><i class="glyphicon glyphicon-phone"></i> Ajouter une machine</a></h4> <h4><a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' user.id %}"><i class="glyphicon glyphicon-phone"></i> Ajouter une machine</a></h4>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment