web/admin: add button to open application from list

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-08 22:51:24 +02:00
parent e33a1ea0c7
commit dbc75428a0
1 changed files with 5 additions and 0 deletions

View File

@ -90,6 +90,11 @@ export class ApplicationListPage extends TablePage<Application> {
${t`Edit`}
</button>
</ak-forms-modal>
${item.launchUrl ?
html`<a href=${item.launchUrl} target="_blank" class="pf-c-button pf-m-secondary">
${t`Open application`}
</a>`:
html``}
<ak-forms-delete
.obj=${item}
objectLabel=${t`Application`}