Display 'Unknown' when runner.version is empty (#24378)
Before:  After: 
This commit is contained in:
parent
62ca5825f7
commit
5141bbd9ba
2 changed files with 2 additions and 1 deletions
|
@ -109,6 +109,7 @@ error = Error
|
|||
error404 = The page you are trying to reach either <strong>does not exist</strong> or <strong>you are not authorized</strong> to view it.
|
||||
|
||||
never = Never
|
||||
unknown = Unknown
|
||||
|
||||
rss_feed = RSS Feed
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</td>
|
||||
<td>{{.ID}}</td>
|
||||
<td><p data-tooltip-content="{{.Description}}">{{.Name}}</p></td>
|
||||
<td>{{.Version}}</td>
|
||||
<td>{{if .Version}}{{.Version}}{{else}}{{$.locale.Tr "unknown"}}{{end}}</td>
|
||||
<td>{{.OwnType}}</td>
|
||||
<td class="runner-tags">
|
||||
{{range .AllLabels}}<span class="ui label">{{.}}</span>{{end}}
|
||||
|
|
Loading…
Reference in a new issue