]> git.mxchange.org Git - friendica.git/commitdiff
Use the "orig_title"
authorMichael <heluecht@pirati.ca>
Wed, 8 Jul 2020 20:47:05 +0000 (20:47 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 8 Jul 2020 20:47:05 +0000 (20:47 +0000)
view/templates/event.tpl
view/theme/frio/templates/event.tpl

index f9f790c8586f5b38ca51c81bcd803a0b78c842d1..62317519b0f52ffb0367db0b826d2a79d7737af8 100644 (file)
@@ -4,7 +4,7 @@
        
        {{if $event.item.author_name}}<a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" height="32" width="32" />{{$event.item.author_name}}</a>{{/if}}
        {{$event.html nofilter}}
-       {{if $event.plink.orig}}<a href="{{$event.plink.orig}}" title="{{$event.plink.title}}" target="_blank" rel="noopener noreferrer" class="plink-event-link icon s22 remote-link"></a>{{/if}}
+       {{if $event.plink.orig}}<a href="{{$event.plink.orig}}" title="{{$event.plink.orig_title}}" target="_blank" rel="noopener noreferrer" class="plink-event-link icon s22 remote-link"></a>{{/if}}
        {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
        {{if $event.copy}}<a href="{{$event.copy.0}}" title="{{$event.copy.1}}" class="copy-event-link icon s22 copy"></a>{{/if}}
        {{if $event.drop}}<a href="{{$event.drop.0}}" onclick="return confirmDelete();" title="{{$event.drop.1}}" class="drop-event-link icon s22 delete"></a>{{/if}}
index 3af211284a9a70075a5036cbbb0ac2f46dd67332..5dcc7e6f3be02a37b84b719e189e7286739b0785 100644 (file)
@@ -18,7 +18,7 @@
                                {{if $event.edit}}<button type="button" class="btn" onclick="eventEdit('{{$event.edit.0}}')" title="{{$event.edit.1}}"><i class="fa fa-pencil" aria-hidden="true"></i></button>{{/if}}
                                {{if $event.copy}}<button type="button" class="btn" onclick="eventEdit('{{$event.copy.0}}')" title="{{$event.copy.1}}"><i class="fa fa-files-o" aria-hidden="true"></i></button>{{/if}}
                                {{if $event.drop}}<a href="{{$event.drop.0}}" onclick="return confirmDelete();" title="{{$event.drop.1}}" class="drop-event-link btn"><i class="fa fa-trash-o" aria-hidden="true"></i></a>{{/if}}
-                               {{if $event.plink.orig}}<a href="{{$event.plink.orig}}" title="{{$event.plink.title}}" class="plink-event-link btn" aria-label="{{$event.plink.1}}"><i class="fa fa-external-link" aria-hidden="true"></i></a>{{/if}}
+                               {{if $event.plink.orig}}<a href="{{$event.plink.orig}}" title="{{$event.plink.orig_title}}" class="plink-event-link btn" aria-label="{{$event.plink.1}}"><i class="fa fa-external-link" aria-hidden="true"></i></a>{{/if}}
                        </div>
                        <div class="clear"></div>
                </div>