listing d'instruments
This commit is contained in:
parent
5d1d3f8eff
commit
406f92098f
27 changed files with 673 additions and 1 deletions
18
gestion/migrations/0004_auto_20210331_2031.py
Normal file
18
gestion/migrations/0004_auto_20210331_2031.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.17 on 2021-03-31 20:31
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('gestion', '0003_photo'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='photo',
|
||||
name='cat',
|
||||
field=models.CharField(choices=[('home_join', 'Rejoignez nous'), ('home_contact', 'Nous Contacter'), ('home_rep', "Répertoire de l'acceuil"), ('login', 'Connexion'), ('change_membre', 'Modification du profil'), ('inscription_membre', 'Inscription'), ('home', 'Calendrier connecté'), ('liste', 'Agenda public'), ('part', 'Répertoire'), ('instru', 'Instruments'), ('n', "N'apparait pas")], default='n', max_length=127),
|
||||
),
|
||||
]
|
|
@ -17,6 +17,7 @@ class Photo(models.Model):
|
|||
('home', _('Calendrier connecté')),
|
||||
('liste', _('Agenda public')),
|
||||
('part', _('Répertoire')),
|
||||
('instru', _('Instruments')),
|
||||
('n',_("N'apparait pas"))
|
||||
)
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
<li><a href="{% url 'partitions:liste' %}">{% trans "Répertoire" %}</a></li>
|
||||
{% if user.is_authenticated %}
|
||||
<li><a href="{% url 'trombonoscope:view' %}">{% trans "Trombonoscope" %}</a></li>
|
||||
<li><a href="{% url 'instruments:liste' %}">{% trans "Instruments" %}</a></li>
|
||||
<li><a href="https://photos.cof.ens.fr/index.php/Clubs-du-COF/L'Ernestophone" target="_blank">{% trans "Galerie Photo" %}</a></li>
|
||||
<li><a href="{% url 'pads:list' %}">{% trans "Pads" %}</a></li>
|
||||
{% if user.is_superuser or user.profile.is_chef %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue