forked from gitea/gitea
		
	Display 'Unknown' when runner.version is empty (#24378)
Before:  After: 
This commit is contained in:
		
							parent
							
								
									62ca5825f7
								
							
						
					
					
						commit
						5141bbd9ba
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 yp05327
						yp05327