Added archive.org button on document lists
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
<th class="fit">{{ MetaType::name($m) }}</th>
|
||||
@endforeach
|
||||
<th>Order No</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -49,7 +50,7 @@
|
||||
</dddiv>
|
||||
</td>
|
||||
@else
|
||||
<td class="w-100" colspan="{{ 2 + count($product->meta()) }}"><a class="btn w-100 text-start" href='/documents/{{ $product->parent->id }}'>Parent</a></td>
|
||||
<td class="w-100" colspan="{{ 3 + count($product->meta()) }}"><a class="btn w-100 text-start" href='/documents/{{ $product->parent->id }}'>Parent</a></td>
|
||||
@endif
|
||||
</tr>
|
||||
@endif
|
||||
@@ -75,7 +76,7 @@
|
||||
@else
|
||||
<td class="w-100"><a class="btn w-100 text-start" href='/documents/{{$child->id}}'>{{$child->title}}</a></td>
|
||||
@endif
|
||||
<td colspan="{{ 1 + count($product->meta()) }}" class="fit"></td>
|
||||
<td colspan="{{ 2 + count($product->meta()) }}" class="fit"></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@@ -125,6 +126,14 @@
|
||||
{{ $doc->internal_id }}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
@if ($doc->archived == "Y")
|
||||
<a class="btn btn-secondary" href="https://archive.org/details/{{ $doc->archive_url }}" target="_blank">
|
||||
<i class="mx-2 fa-solid fa-building-columns"></i>
|
||||
</a>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user