mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Display 'Unknown' when runner.version is empty (#24378)
Before:  After: 
This commit is contained in:
		@@ -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}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user