]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/debug/itemsource.tpl
Merge branch '2019.03-RC'
[friendica.git] / view / templates / debug / itemsource.tpl
index 377409ebf3af4a0a99895faea8c8696bbbf8dd05..0d925b3c8aec7c21a6afa9e912cd46b1700d120d 100644 (file)
 
 {{if $source}}
 <div class="itemsource-results">
+       <div class="panel panel-default">
+               <div class="panel-heading">
+                       <h3 class="panel-title">Item Id</h3>
+               </div>
+               <div class="panel-body">
+                       {{$item_id}}
+               </div>
+       </div>
        <div class="panel panel-default">
                <div class="panel-heading">
                        <h3 class="panel-title">Item URI</h3>
                        {{$item_uri}}
                </div>
        </div>
+       <div class="panel panel-default">
+               <div class="panel-heading">
+                       <h3 class="panel-title">Terms</h3>
+               </div>
+               <div class="panel-body">
+                       <table class="table table-condensed table-striped">
+                               <tr>
+                                       <th>Type</th>
+                                       <th>Term</th>
+                                       <th>URL</th>
+                               </tr>
+               {{foreach $terms as $term}}
+                               <tr>
+                                       <td>
+                       {{if $term.type == 1}}Tag{{/if}}
+                       {{if $term.type == 2}}Mention{{/if}}
+                       {{if $term.type == 8}}Implicit Mention{{/if}}
+                                       </td>
+                                       <td>
+                                               {{$term.term}}
+                                       </td>
+                                       <td>
+                                               {{$term.url}}
+                                       </td>
+                               </tr>
+               {{/foreach}}
+                       </table>
+               </div>
+       </div>
        <div class="panel panel-default">
                <div class="panel-heading">
                        <h3 class="panel-title">Source</h3>