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

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`}