fix html error in link, but replaced target _blank to a named window to keep the experience

This commit is contained in:
Chris 2018-03-12 09:59:37 +00:00
parent c4a4d25f7e
commit 86cc7534c2
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ class Item extends Model
if((int)$this->type === 1) {
return '';
} else {
return ' target="_blank"';
return ' target="heimdallapp"';
}
}

View file

@ -11,7 +11,7 @@
<div data-id="{{ $app->id }}" data-dataonly="{{ $app->config->dataonly or '0' }}" class="livestats-container"></div>
@endif
</div>
<a class="link"{{ $app->link_target }} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
<a class="link"{!! $app->link_target !!} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
</div>
<a class="item-edit" href="{{ route($app->link_type.'.edit', [ $app->id ], false) }}"><i class="fas fa-pencil"></i></a>