1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Expiration and burn after reading works

This commit is contained in:
sam
2012-04-27 04:41:20 +07:00
parent 19480bc1f0
commit 1a46d998ac
76 changed files with 80 additions and 11750 deletions

View File

@ -1,3 +1,15 @@
%if "burn_after_reading" in str(paste.expiration):
<div class="alert">
<strong>Warning!</strong>
%if keep_alive:
This paste will be deleted the next time it is read.
%else:
This paste has self-destructed. If you close this windows, there is not way
to recover it.
%end
</div>
%end
<div class="well">
<form action="/paste/clone" method="get" accept-charset="utf-8">