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:
@ -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">
|
||||
|
Reference in New Issue
Block a user