Bugfix: remove useless </a> for categories from wall_thread template
This commit is contained in:
parent
83f49fcf15
commit
80b60ae4ff
|
@ -1819,6 +1819,10 @@ code > .hl-main {
|
||||||
.wall-item-bottom .label a {
|
.wall-item-bottom .label a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
.wall-item-tags .category,
|
||||||
|
.wall-item-tags .folder {
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
/* item social action buttons */
|
/* item social action buttons */
|
||||||
.wall-item-actions {
|
.wall-item-actions {
|
||||||
|
|
|
@ -150,11 +150,11 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{foreach $item.folders as $cat}}
|
{{foreach $item.folders as $cat}}
|
||||||
<span class="folder label btn-danger sm">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
<span class="folder label btn-danger sm">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
{{foreach $item.categories as $cat}}
|
{{foreach $item.categories as $cat}}
|
||||||
<span class="category label btn-success sm">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
<span class="category label btn-success sm">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
{{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
|
{{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
|
||||||
|
|
|
@ -293,11 +293,11 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{foreach $item.folders as $cat}}
|
{{foreach $item.folders as $cat}}
|
||||||
<span class="folder label btn-danger sm"><span class="p-category">{{$cat.name}}</span></a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
<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}}
|
{{/foreach}}
|
||||||
|
|
||||||
{{foreach $item.categories as $cat}}
|
{{foreach $item.categories as $cat}}
|
||||||
<span class="category label btn-success sm"><span class="p-category">{{$cat.name}}</span></a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
<span class="category label btn-success sm p-category">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
{{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
|
{{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
|
||||||
|
|
Loading…
Reference in a new issue