aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/Profil/Profil.mako
diff options
context:
space:
mode:
Diffstat (limited to 'jm2l/templates/Profil/Profil.mako')
-rw-r--r--jm2l/templates/Profil/Profil.mako21
1 files changed, 6 insertions, 15 deletions
diff --git a/jm2l/templates/Profil/Profil.mako b/jm2l/templates/Profil/Profil.mako
index 8bd87d7..4a20282 100644
--- a/jm2l/templates/Profil/Profil.mako
+++ b/jm2l/templates/Profil/Profil.mako
@@ -55,7 +55,7 @@ DicForm = {
'website': {'PlaceHolder':u"http://ma-page-web.moi","FieldStyle":"width:16em;"},
'gpg_key': {'PlaceHolder':u"Ma clé gpg", "FieldStyle":"width:90%;"},
'soc_link':{'PlaceHolder':u"#jm2l sur irc.freenode.org","FieldStyle":"width:90%;"},
- 'bio': {'PlaceHolder':u"Ma Bilibiographie", "FieldStyle":"width:95%;min-height:150px;", "fieldset":True },
+ 'bio': {'PlaceHolder':u"Ma Bilibiographie", "FieldStyle":"width:95%;min-height:150px;", "fieldset":True, "ckeditor":1 },
'tiersship': {'Ignore':True}
}
%>
@@ -63,20 +63,21 @@ DicForm = {
<fieldset>
<legend>Activité</legend>
+ Si vous ne trouvez pas l'entité que vous souhaitez promouvoir (Association, GULL, Entreprise, Logiciel, ...).
+ Vous pouvez <a href="/entity"> en ajouter une. </a>
+
<div class="repeat">
<table class="wrapper table table-striped table-bordered" width="100%">
<thead>
<tr class="row">
- ##<th></th>
<th style="width:4em;text-align:center;">Année</th>
- <th style="width:19em;">Entitée</th>
+ <th style="width:19em;">Entité</th>
<th>Rôle</th>
<th style="width:6em;">Action</th>
</tr>
</thead>
<tbody class="container">
<tr class="row template" style="line-height:2.2em;">
- ##<td><span class="move btn btn-mini btn-info">Move</span></td>
<td style="text-align:center;">
<input type="hidden" style="width:20em;" class="form-control" name="tiersship-{{row-count-placeholder}}-year_uid"
value="2015" /> 2015
@@ -99,7 +100,6 @@ DicForm = {
</tr>
% for num, dicdata in enumerate(profil_form._fields.get("tiersship").data):
<tr class="row" style="padding:5px;line-height:2.2em;">
- ##<td><span class="move btn btn-mini btn-info">Move</span></td>
<td style="text-align:center;">
<input type="hidden" class="form-control" name="tiersship-${num}-year_uid"
value="${dicdata.get('year_uid')}" style="width:4em;" />
@@ -141,17 +141,8 @@ DicForm = {
</div>
</fieldset>
-
- <input type="submit" value="Enregistrer !" />
+ <input class="btn" type="submit" value="Enregistrer !" />
</form>
-
-
-## Handle Popover of this form
-##<script type="text/javascript">
-## % for field in profil_form._fields.keys():
-## $('#${field}-help').popover();
-## %endfor
-##</script>
</%def>