|
|
@ -29,6 +29,7 @@ class Item extends Model |
|
|
|
'AirSonic' => \App\SupportedApps\AirSonic::class, |
|
|
|
'Cardigann' => \App\SupportedApps\Cardigann::class, |
|
|
|
'CouchPotato' => \App\SupportedApps\CouchPotato::class, |
|
|
|
'Booksonic' => \App\SupportedApps\Booksonic::class, |
|
|
|
'Deluge' => \App\SupportedApps\Deluge::class, |
|
|
|
'Dokuwiki' => \App\SupportedApps\Dokuwiki::class, |
|
|
|
'Duplicati' => \App\SupportedApps\Duplicati::class, |
|
|
@ -37,13 +38,18 @@ class Item extends Model |
|
|
|
'Glances' => \App\SupportedApps\Glances::class, |
|
|
|
'Grafana' => \App\SupportedApps\Grafana::class, |
|
|
|
'Graylog' => \App\SupportedApps\Graylog::class, |
|
|
|
'Headphones' => \App\SupportedApps\Headphones::class, |
|
|
|
'Home Assistant' => \App\SupportedApps\HomeAssistant::class, |
|
|
|
'Jackett' => \App\SupportedApps\Jackett::class, |
|
|
|
'Jdownloader' => \App\SupportedApps\Jdownloader::class, |
|
|
|
'Krusader' => \App\SupportedApps\Krusader::class, |
|
|
|
'LibreNMS' => \App\SupportedApps\LibreNMS::class, |
|
|
|
'LazyLibrarian' => \App\SupportedApps\LazyLibrarian::class, |
|
|
|
'Lidarr' => \App\SupportedApps\Lidarr::class, |
|
|
|
'Mcmyadmin' => \App\SupportedApps\Mcmyadmin::class, |
|
|
|
'Medusa' => \App\SupportedApps\Medusa::class, |
|
|
|
'Mylar' => \App\SupportedApps\Mylar::class, |
|
|
|
'MusicBrainz' => \App\SupportedApps\MusicBrainz::class, |
|
|
|
'NZBGet' => \App\SupportedApps\Nzbget::class, |
|
|
|
'Netdata' => \App\SupportedApps\Netdata::class, |
|
|
|
'Nextcloud' => \App\SupportedApps\Nextcloud::class, |
|
|
@ -60,6 +66,7 @@ class Item extends Model |
|
|
|
'Portainer' => \App\SupportedApps\Portainer::class, |
|
|
|
'Proxmox' => \App\SupportedApps\Proxmox::class, |
|
|
|
'Radarr' => \App\SupportedApps\Radarr::class, |
|
|
|
'Rancher' => \App\SupportedApps\Rancher::class, |
|
|
|
'Runeaudio' => \App\SupportedApps\Runeaudio::class, |
|
|
|
'Sabnzbd' => \App\SupportedApps\Sabnzbd::class, |
|
|
|
'Sickrage' => \App\SupportedApps\Sickrage::class, |
|
|
@ -165,10 +172,19 @@ class Item extends Model |
|
|
|
|
|
|
|
public function getLinkTargetAttribute() |
|
|
|
{ |
|
|
|
if((int)$this->type === 1) { |
|
|
|
if((int)$this->type === 1 ) { |
|
|
|
return ''; |
|
|
|
} else { |
|
|
|
return ' target="heimdallapp"'; |
|
|
|
$settings = Setting::all(); |
|
|
|
foreach($settings as $key => $val) { |
|
|
|
if($val['key'] === 'window_target') { |
|
|
|
$target = $val['value']; |
|
|
|
if($target === 'current') { |
|
|
|
$target = ''; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return ' target="' . $target . '"'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|