Below
Display date app was last updated Display changes to make moderator management easier
This commit is contained in:
parent
1e017d10da
commit
288522ad6e
BIN
archive/community.applications-2022.02.05-x86_64-1.txz
Normal file
BIN
archive/community.applications-2022.02.05-x86_64-1.txz
Normal file
Binary file not shown.
|
@ -2420,7 +2420,7 @@ function showSidebarApp(apppath,appname) {
|
|||
});
|
||||
context.attach("#actionsPopup",opts);
|
||||
}
|
||||
$(".popupName,.betaPopupText").each(function() {
|
||||
$(".popupName,.betaPopupText,.popupTableRight,.popupTableLeft").each(function() {
|
||||
while (isOverflown(this)) {
|
||||
var existingSize = $(this).css("font-size");
|
||||
var size = existingSize.replace("px","");
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
cfcc02e99e011318098c7bf078107fcf ./Apps.page
|
||||
333d17e796611bb83591a16927b9e2f4 ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
c7c6da0a4a4a7ac33f387ea178319bae ./ca_settings.page
|
||||
ed2883d6c44c19304c431079596a1731 ./default.cfg
|
||||
800135166b003221870a39d78f2b2e9e ./include/exec.php
|
||||
dcac83839748f62d4e741a36f338d4f4 ./include/helpers.php
|
||||
ca00c01cbdf0a3ea5df05df23627d57c ./include/helpers.php
|
||||
d827ebdf8c29aa6a9818df043a37721e ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
b398273cf7daa62ab00d2de2336ca25f ./README.md
|
||||
|
@ -19,6 +19,6 @@ a1401a0bed89c182b69f0c7508282c1f ./scripts/pluginInstall.php
|
|||
36556fb8fcd17118600d3d226c50567d ./scripts/showStatistics.php
|
||||
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
|
||||
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
|
||||
b9af1449b8201afb0866cc53f279cd63 ./skins/Narrow/css.php
|
||||
c24d0b89815a4416b56b5b963c46984b ./skins/Narrow/css.php
|
||||
7d827147dc8ede3d518b2cacae1d385b ./skins/Narrow/skin.html
|
||||
47a946524b513a7c6b466f0fb48b49e5 ./skins/Narrow/skin.php
|
||||
c69e2c5533cc5e1fdee740bd01f13659 ./skins/Narrow/skin.php
|
||||
|
|
|
@ -65,6 +65,7 @@ function writeJsonFile($filename,$jsonArray) {
|
|||
debug("Write error $filename");
|
||||
|
||||
}
|
||||
|
||||
function download_url($url, $path = "", $bg = false, $timeout = 45) {
|
||||
global $caSettings, $caPaths;
|
||||
|
||||
|
@ -92,7 +93,7 @@ function download_url($url, $path = "", $bg = false, $timeout = 45) {
|
|||
debug("DOWNLOAD URL: $url\nRESULT:\n".var_dump_ret($out));
|
||||
return $out ?: false;
|
||||
}
|
||||
function download_json($url,$path) {
|
||||
function download_json($url,$path="") {
|
||||
return json_decode(download_url($url,$path),true);
|
||||
}
|
||||
function getPost($setting,$default) {
|
||||
|
@ -707,6 +708,7 @@ function ca_explode($split,$text,$count=2) {
|
|||
function plain($ip) {
|
||||
return str_replace(['[',']'],'',$ip);
|
||||
}
|
||||
|
||||
/**
|
||||
* @copyright Copyright 2006-2012, Miles Johnson - http://milesj.me
|
||||
* @license http://opensource.org/licenses/mit-license.php - Licensed under the MIT License
|
||||
|
|
|
@ -169,6 +169,7 @@ a.ca_categories{text-decoration:none;color:inherit;}
|
|||
.ca_discord_popup::before{content:"\e988";font-family:Unraid;font-size:2.2rem;vertical-align:middle;}
|
||||
img.ca_displayIcon{height:8rem;width:8rem;}
|
||||
.ca_fa-additional::before{content:"\f055";font-family:fontAwesome;}
|
||||
.ca_fa-asterisk::before{content:"\f069";font-family:fontAwesome;}
|
||||
.ca_fa-comment::before{content:"\f075";font-family:fontAwesome;}
|
||||
.ca_fa-delete{color:#882626;}
|
||||
.ca_fa-delete::before{content:"\f00d";font-family:fontAwesome;}
|
||||
|
@ -214,6 +215,7 @@ li.caMenuItem{padding:0px 0px 5px 0px; width:fit-content;}
|
|||
.ca_non_favouriteRepo::before{content:"\f2be";font-family:fontAwesome;}
|
||||
ul.nonselectMenu{list-style-type: none;margin:0px 0px 20px 0px;padding: 0;font-size:1.5rem;}
|
||||
.ca_normal{font-size:1.4rem !important;}
|
||||
.ca_note{color:#d67777;}
|
||||
.ca_popupIconArea{height:14.4rem;}
|
||||
.ca_private::after{content:"\f069";font-family:fontAwesome;}
|
||||
.ca_private{color:#882626;}
|
||||
|
|
|
@ -1159,7 +1159,6 @@ function displayPopup($template) {
|
|||
$FirstSeen = ($FirstSeen < 1433649600 ) ? 1433000000 : $FirstSeen;
|
||||
$DateAdded = date("M j, Y",$FirstSeen);
|
||||
$favRepoClass = ($caSettings['favourite'] == $Repo) ? "fav" : "nonfav";
|
||||
|
||||
$card = "
|
||||
<div class='popup'>
|
||||
<div><span class='popUpClose'>".tr("CLOSE")."</span></div>
|
||||
|
@ -1264,7 +1263,7 @@ function displayPopup($template) {
|
|||
<div class='popupInfoSection'>
|
||||
<div class='popupInfoLeft'>
|
||||
<div class='rightTitle'>".tr("Details")."</div>
|
||||
<table style='display:initial;'>
|
||||
<table style='display:initial;width:100%;'>
|
||||
<tr><td class='popupTableLeft'>".tr("Application Type")."</td><td class='popupTableRight'>$appType</td></tr>
|
||||
<tr><td class='popupTableLeft'>".tr("Categories")."</td><td class='popupTableRight'>$Category</td></tr>
|
||||
<tr><td class='popupTableLeft'>".tr("Added")."</td><td class='popupTableRight'>$DateAdded</td></tr>
|
||||
|
@ -1273,10 +1272,14 @@ function displayPopup($template) {
|
|||
if ($downloadText)
|
||||
$card .= "<tr><td class='popupTableLeft'>".tr("Downloads")."</td><td class='popupTableRight'>$downloadText</td></tr>";
|
||||
if (!$Plugin && !$LanguagePack)
|
||||
$card .= "<tr><td class='popupTableLeft'>".tr("Repository")."</td><td class='popupTableRight'>$Repository</td></tr>";
|
||||
$card .= "<tr><td class='popupTableLeft'>".tr("Repository")."</td><td class='popupTableRight' style='white-space:nowrap;'>$Repository</td></tr>";
|
||||
if ($stars)
|
||||
$card .= "<tr><td class='popupTableLeft'>".tr("DockerHub Stars:")."</td><td class='popupTableRight'>$stars <span class='dockerHubStar'></span></td></tr>";
|
||||
|
||||
if ( ! $Plugin && ! $Language ) {
|
||||
if ( $LastUpdate ) {
|
||||
$card .= "<tr><td class='popupTableLeft'>".tr("Last Update:")."</td><td class='popupTableRight'>".date("M n, Y",$LastUpdate)." <span class='ca_note' title='".tr("Only accurate to within 30 days")."'><span class='ca_fa-asterisk'></span></span></td></tr>";
|
||||
}
|
||||
}
|
||||
if ( $Plugin ) {
|
||||
$card .= "<tr><td class='popupTableLeft'>".tr("Installed Version")."</td><td class='popupTableRight'>$installedVersion</td></tr>";
|
||||
if ( $installedVersion != $pluginVersion ) {
|
||||
|
@ -1346,7 +1349,9 @@ function displayPopup($template) {
|
|||
$card .= "<li class='templateErrorsList'>$error</li>";
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! $Plugin && ! $Language ){
|
||||
$card .= "<div><br><span class='ca_note ca_bold'><span class='ca_fa-asterisk'></span> ".tr("Note: All statistics are only accurate to within 30 days")."</span></div>";
|
||||
}
|
||||
if ( $Beta ) {
|
||||
$card .= "
|
||||
<div class='betaPopupBackground'>
|
||||
|
|
Loading…
Reference in New Issue
Block a user