mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
Merge pull request #6663 from MrPetovan/bug/frio-fix-saved-search-button-display
[frio] Fix saved search button display
This commit is contained in:
commit
1ca8a89087
1 changed files with 11 additions and 9 deletions
|
@ -46,16 +46,18 @@ Some parts of this template will be moved by js to other places (see theme.js) -
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{{* This form is inserted as experiment to move the search-save button to the second navbar with js *}}
|
|
||||||
{{if $savedsearch}}
|
{{if $savedsearch}}
|
||||||
<form id="search-save-form" action="{{$action_url}}" method="get" >
|
<form id="search-save-form" action="{{$action_url}}" method="get" >
|
||||||
<input type="hidden" name="search" value="{{$s}}" />
|
<input type="hidden" name="search" value="{{$s}}" />
|
||||||
{{* In dependence of the search content we show different buttons *}}
|
<button class="btn btn-sm btn-main pull-right" type="submit" name="save" id="search-save" title="{{$save_label}}" aria-label="{{$save_label}}" value="{{$save_label}}" data-toggle="tooltip">
|
||||||
{{if $mode == "tag"}}
|
{{if $mode == "tag"}}
|
||||||
<button class="btn btn-primary btn-sm btn-main pull-right" type="submit" name="save" id="search-save" title="{{$save_label}}" value="{{$save_label}}" data-toggle="tooltip"><i class="fa fa-plus fa-2x" aria-hidden="true"></i></button>
|
<i class="fa fa-plus fa-2x" aria-hidden="true"></i>
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="btn btn-primary btn-sm btn-main pull-right" type="submit" name="save" id="search-save" title="{{$save_label}}" value="{{$save_label}}" data-toggle="tooltip"><i class="fa fa-floppy-o fa-2x" aria-hidden="true"></i></button>
|
<i class="fa fa-floppy-o fa-2x" aria-hidden="true"></i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<span class="sr-only">{{$save_label}}</span>
|
||||||
|
</button>
|
||||||
</form>
|
</form>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue