Commit 175ed9c7 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

fixed a bug that prevented editing of notifications that do not expire

parent f1b9cca9
......@@ -25,7 +25,7 @@ info = db.notification[request.vars["id"]]
</tr>
<tr>
<td><label for="notification_expiration" id="notification_expiration__label">expiration date: </label></td>
<td><input class="date" id="notification_expiration" name="expiration" type="text" value="{{=info.expiration.date()}}"><span>(format: yyyy-mm-dd)</span></td>
<td><input class="date" id="notification_expiration" name="expiration" type="text" value="{{=info.expiration.date() if info.expiration is not None else ''}}"><span>(format: yyyy-mm-dd)</span></td>
<td></td>
</tr>
<tr>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment