diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-01 18:05:04 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-01 18:05:04 -0700 |
commit | a97b09210e977d52a5bda1dee2b1eddc19afc013 (patch) | |
tree | 98ae52f892549b6c0464243dc3b8a3caedd1e585 /view/tpl/search_item.tpl | |
parent | 9476c631b0f9ba52be869b0c430fea81f4202352 (diff) | |
download | volse-hubzilla-a97b09210e977d52a5bda1dee2b1eddc19afc013.tar.gz volse-hubzilla-a97b09210e977d52a5bda1dee2b1eddc19afc013.tar.bz2 volse-hubzilla-a97b09210e977d52a5bda1dee2b1eddc19afc013.zip |
auto preview when inserting a media item or embed into a post. Since this unanticipated action could be alarming (some might think the post was actually submitted), also provide a visible preview indicator within the previewed content. Remove the css for the old striped background image which hasn't been available for previewed content for a year or two.
Diffstat (limited to 'view/tpl/search_item.tpl')
-rwxr-xr-x | view/tpl/search_item.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index 4ca6378b8..28667eb58 100755 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -32,6 +32,7 @@ </div> {{/if}} <div class="wall-item-author"> + {{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span> {{/if}} <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a>{{/if}} </div> <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}"> |