Only show expiry date and time on pastes that expire
This commit is contained in:
parent
9297dca6a3
commit
548afab212
|
@ -27,6 +27,8 @@
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
@ -45,7 +47,11 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
{{ $id }} (language: {{ $language }}, expires at: {{ $expires_at }} UTC)
|
@if($expires_at !== null)
|
||||||
|
{{ $id }} ({{ $language }}, expires at: {{ $expires_at }} UTC)
|
||||||
|
@else
|
||||||
|
{{ $id }} ({{ $language }}, doesn't expire)
|
||||||
|
@endif
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
{!! $content !!}
|
{!! $content !!}
|
||||||
|
|
Loading…
Reference in New Issue