]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/photo_item.tpl
Fix review points
[friendica.git] / view / theme / frio / templates / photo_item.tpl
index b86f4045013426fc4e5c0ee431bffd6e9443835e..fbda1bede9b06e3abd7cf3299482e3ae98be2363 100644 (file)
@@ -8,11 +8,11 @@
                {{* Dropdown menu with actions (e.g. delete comment) *}}
                {{if $drop.dropping }}
                <li class="dropdown">
-                       <a class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenuTools-{{$id}}" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-angle-down"></i></a>
+                       <a class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenuTools-{{$id}}" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-angle-down" aria-hidden="true"></i></a>
 
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools-{{$id}}">
                                <li role="menuitem">
-                                       <a onclick="dropItem('item/drop/{{$id}}', '#wall-item-outside-wrapper-{{$id}}'); return false;" class="delete" title="{{$drop.delete}}"><i class="fa fa-trash"></i>&nbsp;{{$drop.delete}}</a>
+                                       <a onclick="dropItem('item/drop/{{$id}}', '#wall-item-outside-wrapper-{{$id}}'); return false;" class="delete" title="{{$drop.delete}}"><i class="fa fa-trash" aria-hidden="true"></i>&nbsp;{{$drop.delete}}</a>
                                </li>
                        </ul>
                </li>
@@ -21,9 +21,9 @@
 
        {{* avatar picture *}}
        <div class="contact-photo-wrapper mframe p-author h-card pull-left">
-               <a class="userinfo" id="wall-item-photo-menu-{{$id}} u-url" href="{{$profile_url}}">
+               <a class="userinfo click-card u-url" id="wall-item-photo-menu-{{$id}}" href="{{$profile_url}}">
                        <div class="contact-photo-image-wrapper">
-                               <img src="{{$thumb}}" class="contact-photo-xs media-object p-name u-photo" id="wall-item-photo-{{$item.id}}" alt="{{$name}}" />
+                               <img src="{{$thumb}}" class="contact-photo-xs media-object p-name u-photo" id="wall-item-photo-{{$id}}" alt="{{$name}}" />
                        </div>
                </a>
        </div>
                {{* the header with the comment author name *}}
                <div role="heading " class="contact-info-comment">
                        <h5 class="media-heading">
-                               <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link userinfo"><span class="btn-link">{{$name}}</span></a>
+                               <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link userinfo hover-card"><span class="btn-link">{{$name}}</span></a>
                        </h5>
                </div>
 
                {{* comment content *}}
-               <div itemprop="description" class="wall-item-content" id="wall-item-content-{{$id}}">
+               <div class="wall-item-content" id="wall-item-content-{{$id}}">
                        {{if $title}}
                        <div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div>
                        {{/if}}
 
-                       <div class="wall-item-body {{if !$title}}p-name{{/if}}" id="wall-item-body-{{$id}}" >{{$body}}</div>
+                       <div class="wall-item-body {{if !$title}}p-name{{/if}}" id="wall-item-body-{{$id}}" dir="auto">{{$body}}</div>
                </div>
 
                <div class="wall-item-wrapper-end clear"></div>