Merge pull request #13754 from xundeenergie/quote-button

Change reshare to quote icon for quote-button
This commit is contained in:
Hypolite Petovan 2023-12-23 11:39:05 -05:00 committed by GitHub
commit 1f9536694c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,10 +329,10 @@ as the value of $top_child_total (this is done at the end of this file)
</span> </span>
<span class="wall-item-response"> <span class="wall-item-response">
{{if $item.vote.share}} {{if $item.vote.share}}
<button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-share" aria-hidden="true"></i></button> <button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-quote-right" aria-hidden="true"></i></button>
<span title="{{$item.quoteshares.title}}">{{$item.quoteshares.total}}</span> <span title="{{$item.quoteshares.title}}">{{$item.quoteshares.total}}</span>
{{else}} {{else}}
<button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" disabled><i class="fa fa-share" aria-hidden="true"></i></button> <button type="button" class="btn-link button-votes" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" disabled><i class="fa fa-quote-right" aria-hidden="true"></i></button>
{{/if}} {{/if}}
</span> </span>
{{/if}} {{/if}}
@ -529,7 +529,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.vote.share}} {{if $item.vote.share}}
<li role="menuitem"> <li role="menuitem">
<a class="btn-link" id="share-{{$item.id}}" href="javascript:jotShare({{$item.id}});" title="{{$item.vote.share.0}}"> <a class="btn-link" id="share-{{$item.id}}" href="javascript:jotShare({{$item.id}});" title="{{$item.vote.share.0}}">
<i class="fa fa-share" aria-hidden="true"></i> {{$item.vote.share.1}} <i class="fa fa-quote-right" aria-hidden="true"></i> {{$item.vote.share.1}}
</a> </a>
</li> </li>
{{/if}} {{/if}}