]> git.parisson.com Git - mezzo.git/commitdiff
Fix project form
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 14 Mar 2017 14:13:10 +0000 (15:13 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 14 Mar 2017 14:13:10 +0000 (15:13 +0100)
app/organization/projects/forms.py
app/organization/projects/models.py
app/themes/vertigo_starts_eu/templates/projects/project_ict_create.html

index a6211093ab1be77a413d2d19f93ea95d17e8c6d7..5ab93ff01b295212529925572989ac84addb3d99 100644 (file)
@@ -89,6 +89,7 @@ class ProjectUserImageInline(InlineFormSet):
     extra = 3
     model = ProjectUserImage
     prefix = 'Private images'
+    text = "To be published only for ICT-Projects selected by the consortium"
     can_delete = False
     fields = ['file', 'credits']
 
index 3d5d14980e46b98f0f8227373484db117d67454c..1c28f7d9d3ef27f7d3892065cce718a045d39317 100644 (file)
@@ -336,9 +336,9 @@ class ProjectPublicData(models.Model):
     project = models.ForeignKey(Project, verbose_name=_('project'), related_name='public_data', blank=True, null=True, on_delete=models.SET_NULL)
 
     brief_description = models.CharField(_('brief description'), max_length=110, help_text="Brief description of the challenges faced by the project to be used for wider communication strategy (e.g. Twitter) (110 characters max).")
-    challenges_description = models.TextField(_('full description'), help_text="Full description of the challenges faced by the project (100-150 words).")
+    challenges_description = models.TextField(_('challenges description'), help_text="Full description of the challenges faced by the project (100-150 words).")
     technology_description = models.TextField(_('technology description'), help_text="Must include the elements to be made available to the artist with sufficient functional and implementation details for enabling him/her to elaborate his/her technical approach (100-200 words).")
-    objectives_description = models.TextField(_('objective description'), help_text="What the project is looking to gain from the collaboration and what kind of artist would be suitable (100 – 150 words).")
+    objectives_description = models.TextField(_('objectives description'), help_text="What the project is looking to gain from the collaboration and what kind of artist would be suitable (100 – 150 words).")
     resources_description = models.TextField(_('resource description'), help_text="Resources available to the artist -- e.g. office facility, studio facility, technical equipment, internet connection, laboratory, and periods of availability for artistic production, staff possibly allocated to the project, available budget for travel, consumables and equipment, etc... (50 – 100 words).")
     period = models.CharField(_('period of implementation'), max_length=128, help_text="Possible period of implementation (must be part of the project implementation workplan)")
     image = models.FileField(_("Image"), max_length=1024, upload_to="images", help_text="Representing the project")
index 9f5d8f70d303723f342de31a5e741fb6cc76a47a..a26dfe5231604ada241ae82401e6e15e3247c027 100644 (file)
                 {{ formset.management_form }}
                 <hr>
                 <h2>{{ formset.prefix }}</h2>
+                {% if "Private data" in formset.prefix %}
+                    <h5>To be available only to Vertigo partners and artists upon successfully obtaining the residency (except letter reserved to VERTIGO)</h5>
+                {% elif "Public data" in formset.prefix %}
+                    <h5>To be published only for ICT-Projects selected by the consortium</h5>
+                {% elif "Private images" in formset.prefix %}
+                    <h5>3 key images for inspiring artist + any video content available</h5>
+                {% endif %}
                 {% for form in formset %}
                    {% fields_for form %}
                 {% endfor %}