From 50a045b7dad0ef483fb16636074476c68fc7dff2 Mon Sep 17 00:00:00 2001 From: Ali Jetha Date: Thu, 7 Oct 2010 19:06:54 -0400 Subject: [PATCH] Chercheur edit --- auf_savoirs_en_partage/media/img/edit.png | Bin 0 -> 618 bytes auf_savoirs_en_partage/savoirs/views.py | 2 +- auf_savoirs_en_partage/templates/chercheurs/edit.html | 16 ++++------------ auf_savoirs_en_partage/templates/chercheurs/perso.html | 1 + .../templates/savoirs/evenement_index.html | 2 +- 5 files changed, 7 insertions(+), 14 deletions(-) create mode 100644 auf_savoirs_en_partage/media/img/edit.png diff --git a/auf_savoirs_en_partage/media/img/edit.png b/auf_savoirs_en_partage/media/img/edit.png new file mode 100644 index 0000000000000000000000000000000000000000..b93e77600def75c9a144d3d0a5088a62c02cbb0b GIT binary patch literal 618 zcmV-w0+s!VP)$>5Y&axjp2O=VLu>*f>1L;s0)kkvKC!*u?s6CVL=HJ6oP~pNfZc; zsKr=bq;7MITw8NXw{SZm%59TId2x_9BQ zV86`NuvGI!>o^V!Na!=$7GJE{Cq`b+XwknM{UcGHFTTfmuS+ zm-zYC!P3+zmY;SG$?!fYkOih`QYaLxyF}A86h$GGN}kFj)_o*0e zjPMP%zTG7FYMAfO2Nn1D`D0Cj?Wl>5q%@CE10nX)KxpNmwk+!IWkzywiYD( zqUXiYYIq3qcRyMGJ;IY`(Gz~E$J$zu2+R{)xGlE*88b3WK6V*J>}2iPY1HH|tER0W z_+^^FdppY?o)Gt5M2`%xwRDH@R3G}^i1l4|6uchm0X0f!@&YdVLB5K&dd7Rv{)DXX zt^&vP;}kqj3f>94j+4xd93>s|Q!Ezi>?r8(Il$P}PFxSqu{d*!Y%*#cX(R0f|Juz# z3o0_xI14Al->1uky@W-rCI_%l&> Publications
- {% ifnotequal publication1_form.instance.titre None %}
Renseignements préalablements enregistrés -

{{publication1_form.instance.publication_affichage}}

+

{{publication1_form.instance.publication_affichage|default:"-"}}

- {% endifnotequal %}
{% with publication1_form as form %} {% include "table_form.html" %} @@ -69,12 +67,10 @@

+ Autres publications

- Publication 2
- {% ifnotequal publication1_form.instance.titre None %}
Renseignements préalablements enregistrés -

{{publication2_form.instance.publication_affichage}}

+

{{publication2_form.instance.publication_affichage|default:"-"}}

- {% endifnotequal %}
{% with publication2_form as form %} {% include "table_form.html" %} @@ -82,12 +78,10 @@
- Publication 3
- {% ifnotequal publication3_form.instance.titre None %}
Renseignements préalablements enregistrés -

{{publication3_form.instance.publication_affichage}}

+

{{publication3_form.instance.publication_affichage|default:"-"}}

- {% endifnotequal %}
{% with publication3_form as form %} {% include "table_form.html" %} @@ -95,12 +89,10 @@
- Publication 4
- {% ifnotequal publication4_form.instance.titre None %}
Renseignements préalablements enregistrés -

{{publication4_form.instance.publication_affichage}}

+

{{publication4_form.instance.publication_affichage|default:"-"}}

- {% endifnotequal %}
{% with publication4_form as form %} {% include "table_form.html" %} diff --git a/auf_savoirs_en_partage/templates/chercheurs/perso.html b/auf_savoirs_en_partage/templates/chercheurs/perso.html index 107c98c..b808bdc 100644 --- a/auf_savoirs_en_partage/templates/chercheurs/perso.html +++ b/auf_savoirs_en_partage/templates/chercheurs/perso.html @@ -4,6 +4,7 @@

{{ chercheur }}

+

{{chercheur.personne.courriel}}

{% firstof chercheur.etablissement.nom chercheur.etablissement_autre_nom "-" %}, {% firstof chercheur.etablissement.pays chercheur.etablissement_autre_pays "-" %}

diff --git a/auf_savoirs_en_partage/templates/savoirs/evenement_index.html b/auf_savoirs_en_partage/templates/savoirs/evenement_index.html index d3c0550..88a5534 100644 --- a/auf_savoirs_en_partage/templates/savoirs/evenement_index.html +++ b/auf_savoirs_en_partage/templates/savoirs/evenement_index.html @@ -11,7 +11,7 @@ {% for e in evenements %} - {{ e.summary.value|truncatewords:12 }} + {{ e.summary.value|truncatewords:20 }} {% endfor %} -- 1.7.10.4