Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 80c125d39edc9df8134b63732fa061753e1621b9
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sun Nov 4 15:36:28 2012 +0100
Only show the recursive text if the meeting is recursive and remove debug prints
---------------------------------------------------------------
fedocal/templates/edit_meeting.html | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/fedocal/templates/edit_meeting.html b/fedocal/templates/edit_meeting.html
index 0fc37e7..0089c22 100644
--- a/fedocal/templates/edit_meeting.html
+++ b/fedocal/templates/edit_meeting.html
@@ -23,10 +23,8 @@
<p>If this is a regular meeting this is where you want to set it as so.</p>
<table>
{{ render_field_in_row(form.frequency) }}
-{{meeting.recursion.recursion_frequency}}
{{ render_field_in_row(form.end_repeats,
after='Leave empty if there is no end date for the repeat.') }}
-{{meeting.recursion.recursion_ends}}
</table>
<h4>Reminder</h4>
@@ -38,11 +36,12 @@
{{ render_field_in_row(form.remind_who) }}
</table>
+{% if meeting.recursion_frequency %}
<h4>Edit all?</h4>
-<p>This meeting is a recursive meeting, by default your changes will only
-affect this meeting unless you explecitely say otherwise:
+<p>This meeting is a recursive meeting, your changes will
+affect all the meetings related.
</p>
-{{ render_field(form.recursive_edit) }}
+{% endif %}
<p class="buttons indent">
<input type="submit" class="submit positive"
value="Edit">