mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
(Grav GitSync) Automatic Commit from yunohost-bot
This commit is contained in:
parent
6c1ba11e9a
commit
d5dfdb95d7
2 changed files with 5 additions and 3 deletions
BIN
pages/02.apps/01.catalog/.apps.md.swp
Normal file
BIN
pages/02.apps/01.catalog/.apps.md.swp
Normal file
Binary file not shown.
|
@ -53,11 +53,13 @@ Disclaimers
|
|||
{% endif %}
|
||||
{{ infos.name }}
|
||||
<span class="label label-default">{{infos.category}}</span>
|
||||
{% if infos.level <= 0 %}
|
||||
{% if infos.broken %}
|
||||
<span class="label label-error">broken</span>
|
||||
{% elif infos.bad_quality %}
|
||||
{% else %}
|
||||
{% if infos.bad_quality %}
|
||||
<span class="label label-warning">low quality</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="app-descr">{{ infos.description[descr_lang] }}</div>
|
||||
<div class="app-footer">
|
||||
|
@ -203,7 +205,7 @@ $(document).ready(function () {
|
|||
// we look for the name of the app (h3) and try to find the user input
|
||||
// + we check this app match the current quality filter
|
||||
var text = $(this).find('.app-title').text().toLowerCase() + " " + $(this).find('.app-descr').text().toLowerCase();
|
||||
if (text.indexOf(user_input_in_search_field) >= 0 && $(this).data("quality").indexOf(current_quality_filter) >= 0)
|
||||
if (text.indexOf(user_input_in_search_field) >= 0)
|
||||
{
|
||||
$(this).show();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue