Add ttl_options setting

Adds a new setting to define the options in the TTL dropdown when
editing a record. The setting is a comma separated string with the
valid options.
This commit is contained in:
Robert Kerr
2018-11-24 12:45:14 +00:00
parent 2f39512b65
commit c456aa2e7a
5 changed files with 21 additions and 8 deletions

View File

@ -106,6 +106,7 @@
<script>
// superglobals
window.records_allow_edit = {{ editable_records|tojson }};
window.ttl_options = {{ ttl_options|tojson }};
window.nEditing = null;
window.nNew = false;