Forgot this file.
This commit is contained in:
parent
936af2a9fd
commit
5b79f924cb
@ -2,7 +2,7 @@ function generateMenu(availableOptions)
|
|||||||
{
|
{
|
||||||
function createPhotoName(photo)
|
function createPhotoName(photo)
|
||||||
{
|
{
|
||||||
if (photo == "none") return "☆ inexistant";
|
if (photo == "none") return "☆ manquant";
|
||||||
if (photo == "bad") return "★ mauvais";
|
if (photo == "bad") return "★ mauvais";
|
||||||
if (photo == "ok") return "★★ acceptable";
|
if (photo == "ok") return "★★ acceptable";
|
||||||
if (photo == "good") return "★★★ bon";
|
if (photo == "good") return "★★★ bon";
|
||||||
@ -45,7 +45,7 @@ function generateMenu(availableOptions)
|
|||||||
if (!hasExist && (photo == "bad" || photo == "ok" || photo == "good"))
|
if (!hasExist && (photo == "bad" || photo == "ok" || photo == "good"))
|
||||||
{
|
{
|
||||||
html = '<span><input type="checkbox" id="exist" name="photo" value="exist"></input>\n';
|
html = '<span><input type="checkbox" id="exist" name="photo" value="exist"></input>\n';
|
||||||
html += '<label for="exist">Existant</label></span>';
|
html += '<label for="exist">Disponible</label></span>';
|
||||||
$(".box.photos .item-cont .generated").append(html);
|
$(".box.photos .item-cont .generated").append(html);
|
||||||
hasExist = true;
|
hasExist = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user