Fix for private pastes can be obtained in RAW mode without TS.

This commit is contained in:
2018-05-01 23:08:12 +05:00
parent c926a58276
commit a8c8f6de36
4 changed files with 28 additions and 9 deletions

View File

@@ -41,6 +41,7 @@
<th>Title</th>
<th>Language</th>
<th>Pasted on</th>
<th>Paste type</th>
</tr>
</thead>
<tbody>
@@ -49,10 +50,11 @@
<td>{pasteTitle}</td>
<td>{pasteLanguage}</td>
<td>{pasteDate}</td>
<td>{pasteType}</td>
</tr>
<tr>
<td colspan="4">
<a class="button" href="/paste/{pasteID}/raw">View raw</a>
<td colspan="5">
<a class="button" href="/paste/{pasteID}/{pasteTs}raw">View raw</a>
</td>
</tr>
</tbody>