pendingdocuments.smarty
1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<h2>{i18n}Pending Documents Indexing Queue{/i18n}</h2>
{i18n}This report lists documents that are waiting to be indexed.{/i18n}
<br><br>
{i18n}If a document is not associated with an extractor, no content will be added to the index. These documents can be identified in the list by the extractor column reflecting n/a.{/i18n}
<br><br>
{if empty($pending_docs)}
<b>{i18n}There are no documents in the indexing queue.{/i18n}</b>
{else}
<table class=kt_collection>
<thead>
<tr>
<th>{i18n}Filename{/i18n}</th>
<th width="100">{i18n}Extractor{/i18n}</th>
<th width="100">{i18n}Index Date{/i18n}</th>
</tr>
</thead>
<tbody>
{foreach key=key from=$pending_docs item=pendingDocs}
<tr>
<td><a href="{$root_url}/view.php?fDocumentId={$pendingDocs.document_id}">{$pendingDocs.filename|mb_truncate:50:'...':true}</a></td>
<td>{if $pendingDocs.extractor}{$pendingDocs.extractor}{else}<p><font color="#FF9933">{i18n}n/a{/i18n}</font></p>{/if}</td>
<td>{$pendingDocs.indexdate}</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}