def __unicode__(self):
return u"Évaluation de %s" % self.candidat
+ def get_appreciation(self,):
+ if self.note is None:
+ return u"non disponible"
+ return u"%s %s" % (self.note, self.commentaire,)
class MesCandidatEvaluation(CandidatEvaluation):
{% include "recrutement/form-row.html" with label="Poste actuel" value=candidat.poste_actuel %}
{% include "recrutement/form-row.html" with label="Domaine professionnel" value=candidat.domaine_professionnel %}
</fieldset>
+
+ <fieldset class="module aligned">
+ <h2>Pièces jointes</h2>
+ {% for pj in candidat.pieces_jointes %}
+ {% include "recrutement/form-row.html" with label="Type" value=pj.nom %}
+ {% endfor %}
+ </fieldset>
+
+ <fieldset class="module aligned">
+ <h2>Évaluations</h2>
+ {% for eval in candidat.evaluations.all %}
+ {% include "recrutement/form-row.html" with label=eval.evaluateur value=eval.get_appreciation %}
+ {% endfor %}
+ </fieldset>
</div>
</body>