]> git.ipfire.org Git - ipfire.org.git/commitdiff
nopaste: Set default expires to a month
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Mar 2015 16:29:53 +0000 (17:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Mar 2015 16:29:53 +0000 (17:29 +0100)
This makes much more sense if this is used to email
things to someone.

templates/nopaste/create.html

index ef094dd70353281a615ee98ec7870e684aae385b..e70726777e9fe1eb1666e0f4314aaefa316403d3 100644 (file)
@@ -30,9 +30,9 @@
                                        <option value="0">{{ _("never") }}</option>
                                        <option value="600">{{ _("after ten minutes") }}</option>
                                        <option value="3600">{{ _("after one hour") }}</option>
-                                       <option value="{{ 24 * 3600 }}" selected>{{ _("after one day") }}</option>
+                                       <option value="{{ 24 * 3600 }}">{{ _("after one day") }}</option>
                                        <option value="{{ 7 * 24 * 3600 }}">{{ _("after one week") }}</option>
-                                       <option value="{{ 30 * 24 * 3600 }}">{{ _("after one month") }}</option>
+                                       <option value="{{ 30 * 24 * 3600 }}" selected>{{ _("after one month") }}</option>
                                </select>
                        </div>
                </div>