mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
install/images: handle new 'hide' flag in images.json
This commit is contained in:
parent
64e98e7789
commit
6b33246634
7 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
.replace('{id}', infos.id)
|
||||
|
|
|
@ -51,6 +51,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
.replace('{id}', infos.id)
|
||||
|
|
|
@ -50,6 +50,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
.replace('{id}', infos.id)
|
||||
|
|
|
@ -56,6 +56,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
.replace('{id}', infos.id)
|
||||
|
|
|
@ -56,6 +56,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
.replace('{id}', infos.id)
|
||||
|
|
|
@ -251,6 +251,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
if (infos.tuto.indexOf(hardware) == -1) return;
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
|
|
|
@ -386,6 +386,7 @@ $(document).ready(function () {
|
|||
console.log("in load");
|
||||
$.getJSON('https://build.yunohost.org/images.json', function (images) {
|
||||
$.each(images, function(k, infos) {
|
||||
if (infos.hide == true) { return; }
|
||||
if (infos.tuto.indexOf(hardware) == -1) return;
|
||||
// Fill the template
|
||||
html = $('#image-template').html()
|
||||
|
|
Loading…
Add table
Reference in a new issue