Added archive.org button on document lists
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
<th class="fit">{{ MetaType::name($m) }}</th>
|
<th class="fit">{{ MetaType::name($m) }}</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
<th>Order No</th>
|
<th>Order No</th>
|
||||||
|
<th> </th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
</dddiv>
|
</dddiv>
|
||||||
</td>
|
</td>
|
||||||
@else
|
@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
|
@endif
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
@@ -75,7 +76,7 @@
|
|||||||
@else
|
@else
|
||||||
<td class="w-100"><a class="btn w-100 text-start" href='/documents/{{$child->id}}'>{{$child->title}}</a></td>
|
<td class="w-100"><a class="btn w-100 text-start" href='/documents/{{$child->id}}'>{{$child->title}}</a></td>
|
||||||
@endif
|
@endif
|
||||||
<td colspan="{{ 1 + count($product->meta()) }}" class="fit"></td>
|
<td colspan="{{ 2 + count($product->meta()) }}" class="fit"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
@@ -125,6 +126,14 @@
|
|||||||
{{ $doc->internal_id }}
|
{{ $doc->internal_id }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</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>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user