mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Fix adding / removing photo tags + tagrm delete via GET + Item::update / add Term::deleteAllTags
This commit is contained in:
parent
dbfe5c9d2a
commit
fd2e06781d
5 changed files with 81 additions and 28 deletions
|
@ -51,12 +51,19 @@
|
|||
|
||||
{{* Tags and mentions *}}
|
||||
{{if $tags}}
|
||||
<div id="photo-tags">{{$tags.1}}</div>
|
||||
<div id="photo-tags">{{$tags.title}}
|
||||
{{foreach $tags.tags as $t}}
|
||||
<span class="category label btn-success sm">
|
||||
<span class="p-category">{{$t.name}}</span>
|
||||
{{if $t.removeurl}} (<a href="{{$t.removeurl}}">x</a>) {{/if}}
|
||||
</span>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $tags.2}}
|
||||
{{if $tags.removeanyurl}}
|
||||
<div id="tag-remove">
|
||||
<a href="{{$tags.2}}">{{$tags.3}}</a>
|
||||
<a href="{{$tags.removeanyurl}}">{{$tags.removetitle}}</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue