mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Lelz I broke everything again
This commit is contained in:
parent
660f6c0c65
commit
211f285dd9
2 changed files with 2 additions and 2 deletions
2
apps.md
2
apps.md
|
@ -363,7 +363,7 @@ $(document).ready(function () {
|
||||||
$('.app-card_'+ app_id + ' .app-title').append(' <span class="label label-'+app_badge_css_style+'">'+app_badge+'</span>');
|
$('.app-card_'+ app_id + ' .app-title').append(' <span class="label label-'+app_badge_css_style+'">'+app_badge+'</span>');
|
||||||
}
|
}
|
||||||
if (typeof(infos.category) === "string") {
|
if (typeof(infos.category) === "string") {
|
||||||
category = temp1.find(function(el) { return el.id == infos.category; });
|
category = data["categories"].find(function(el) { return el.id == infos.category; });
|
||||||
if (typeof(category) !== "undefined")
|
if (typeof(category) !== "undefined")
|
||||||
{
|
{
|
||||||
display = category["title"][default_lang] || category["title"]["en"];
|
display = category["title"][default_lang] || category["title"]["en"];
|
||||||
|
|
|
@ -362,7 +362,7 @@ $(document).ready(function () {
|
||||||
$('.app-card_'+ app_id + ' .app-title').append(' <span class="label label-'+app_badge_css_style+'">'+app_badge+'</span>');
|
$('.app-card_'+ app_id + ' .app-title').append(' <span class="label label-'+app_badge_css_style+'">'+app_badge+'</span>');
|
||||||
}
|
}
|
||||||
if (typeof(infos.category) === "string") {
|
if (typeof(infos.category) === "string") {
|
||||||
category = temp1.find(function(el) { return el.id == infos.category; });
|
category = data["categories"].find(function(el) { return el.id == infos.category; });
|
||||||
if (typeof(category) !== "undefined")
|
if (typeof(category) !== "undefined")
|
||||||
{
|
{
|
||||||
display = category["title"][default_lang] || category["title"]["en"];
|
display = category["title"][default_lang] || category["title"]["en"];
|
||||||
|
|
Loading…
Reference in a new issue