Merge pull request #6726 from MrPetovan/task/6676-fix-implicit-mentions
Fix last batch of implicit mentions issues
This commit is contained in:
commit
fa5525d084
20 changed files with 547 additions and 264 deletions
|
@ -10,6 +10,14 @@
|
|||
|
||||
{{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>
|
||||
|
@ -18,6 +26,35 @@
|
|||
{{$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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue