mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
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>
|
||||
|
|
|
@ -293,8 +293,11 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
{{foreach $item.mentions as $tag}}
|
||||
<span class="mention label btn-warning sm">{{$tag nofilter}} <i class="fa fa-user" aria-hidden="true"></i></span>
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
|
||||
{{*foreach $item.implicit_mentions as $tag}}
|
||||
<span class="mention label label-default sm">{{$tag nofilter}} <i class="fa fa-eye-slash" aria-hidden="true"></i></span>
|
||||
{{/foreach*}}
|
||||
{{/if}}
|
||||
{{foreach $item.folders as $cat}}
|
||||
<span class="folder label btn-danger sm p-category">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||
{{/foreach}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue