This commit is contained in:
Matthew Connelly 2015-11-14 07:37:53 +00:00
parent bfb3bf8622
commit 88161345ae
2 changed files with 1 additions and 5 deletions

View File

@ -32,10 +32,6 @@ plugins:
expiration:
weeks: 2
strings:
default_expiry: "Two weeks"
# Languages supported by Pygments
# TODO: perhaps swap this out with something in App::WerePaste::Util::PygmentsBridge so we can dynamically load supported languages
languages:

View File

@ -17,7 +17,7 @@
<br />
<div style='float: right'>
<select class="expiration" name="expiration">
<option value "" selected>[% strings.default_expiry %] (Default)</option>
<option value "" selected >Two weeks (Default)</option>
<option value="hours:1" >Expire 1 hour from now</option>
<option value="hours:6" >Expire 6 hours from now</option>
<option value="days:1" >Expire 1 day from now</option>