Add link to dockerhub page on popups

pull/2/head
Squidly271 2017-09-12 16:42:38 -04:00
parent cb55a0164f
commit 8cd1f38ad0
4 changed files with 10 additions and 5 deletions

Binary file not shown.

View File

@ -13,9 +13,10 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
<CHANGES>
###2017.09.09
###2017.09.12
- Added: App info popup now has link to go directly to docker hub page for application
- Fixed: Prevent possibility of duplicate app appearing in app of the day.
- Fixed: Previously, app of the day would return errors if unRaid CSS and window width support horizontal resolution greater than 5700 pixels.
- Enhanced: Previously, app of the day would return errors if unRaid CSS and window width support horizontal resolution greater than 5700 pixels.
- Fixed: If multiple browser tabs opened to apps tab, detect if app database is out of sync between windows and update tab accordingly.
- Changed: Allow moderation to whitelist an application without appfeed update

View File

@ -641,7 +641,6 @@ function filterMatch($filter,$searchArray) {
# Used to update the last time synced to keep browsers up to date #
# #
###################################################################
function updateSyncTime($updateSyncFlag) {
global $communityPaths;

View File

@ -97,11 +97,16 @@ $templateDescription .= ($template['Beta'] == "true") ? "<figcaption><font size=
$templateDescription .= "</figure>";
$templateDescription .= "</td><td></td><td><table>";
$templateDescription .= "<tr><td>$color<strong>Author: </strong></td><td>$color".$template['Author']."</td></tr>";
if ( ! $template['Plugin'] ) {
$repository = explode(":",$template['Repository']);
$official = ( count(explode("/",$repository[0])) == 1 ) ? "_" : "r";
$templateDescription .= "<tr><td>$color<strong>DockerHub: </strong></td><td><a href='https://hub.docker.com/$official/{$repository[0]}' target='_blank'>{$repository[0]}</a></td></tr>";
}
$templateDescription .= "<tr><td>$color<strong>Repository: </strong></td><td>$color";
$templateDescription .= $template['Forum'] ? "<b><a style='color:white;' href='".$template['Forum']."' target='_blank'>".$template['RepoName']."</a></b>" : "<b>{$template['RepoName']}</b>";
$templateDescription .= $template['Forum'] ? "<b><a href='".$template['Forum']."' target='_blank'>".$template['RepoName']."</a></b>" : "<b>{$template['RepoName']}</b>";
if ( $template['Profile'] ) {
$profileDescription = $template['Plugin'] ? "Author" : "Maintainer";
$templateDescription .= "&nbsp;&nbsp;&nbsp;&nbsp;<b><a style='color:white' href='{$template['Profile']}' target='_blank'>($profileDescription Profile)</a></b>";
$templateDescription .= "&nbsp;&nbsp;&nbsp;&nbsp;<b><a href='{$template['Profile']}' target='_blank'>($profileDescription Profile)</a></b>";
}
$templateDescription .= "</td></tr>";
$templateDescription .= ($template['Private'] == "true") ? "<tr><td></td><td><font color=red>Private Repository</font></td></tr>" : "";