Commit de55e509 authored by Johannes Schilling's avatar Johannes Schilling

web/edit_common: add internal_net_only checkbox

parent 6f333cfd
......@@ -67,6 +67,7 @@ def update_meta_from_request(metadata, form):
if metadata['name'] == u'':
metadata['name'] = None
metadata['internal_net_only'] = bool(form.get('internal_net_only'))
metadata['comment'] = form.get('comment')
if metadata['comment'] == u'' or not 'keeptext' in form:
......
......@@ -117,6 +117,13 @@
</td>
</tr>
{% endif %}
<tr>
<td>Nur aus FAU-Netz</td>
<input id="internal_net_only" type="checkbox" name="internal_net_only" />
<label for="internal_net_only">
internal only (<span style="color:red;">read email comment text</span>)
</label>
</tr>
<tr>
<td>PDF</td>
<td><a href="{{entry.pdf_url}}">{{entry.pdf_url}}</a></td>
......
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