mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
UI: fallback to job name if there's no app
This commit is contained in:
parent
5bb6d7c890
commit
d06d3d5d25
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@
|
||||||
<div class="container" v-bind:class="{deleted: job.deleted}">
|
<div class="container" v-bind:class="{deleted: job.deleted}">
|
||||||
<h1 class="title">
|
<h1 class="title">
|
||||||
<span v-if="job.deleted">(DELETED)</span>
|
<span v-if="job.deleted">(DELETED)</span>
|
||||||
Job #{{job.id}} <% if app %>for <a href="<{ relative_path_to_root }>apps/<{ app.name }>/"><{ app.name }> </a><% endif %>
|
Job #{{job.id}}
|
||||||
|
<% if app %><a href="<{ relative_path_to_root }>apps/<{ app.name }>/">{{ job.name }} </a>
|
||||||
|
<% else %>{{ job.name }}
|
||||||
|
<% endif %>
|
||||||
<a target="_blank" v-bind:href="job.url_or_path">↪</a>
|
<a target="_blank" v-bind:href="job.url_or_path">↪</a>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue