mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 13:28:25 +00:00 
			
		
		
		
	chore: format runner id
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
<div class="runner-container">
 | 
			
		||||
	{{template "base/alert" .}}
 | 
			
		||||
	<h4 class="ui top attached header">
 | 
			
		||||
		{{.locale.Tr "actions.runners.runner_title"}} #{{.Runner.ID}} {{.Runner.Name}}
 | 
			
		||||
		{{.locale.Tr "actions.runners.runner_title"}} {{template "shared/actions/runner_id" .Runner.ID}} {{.Runner.Name}}
 | 
			
		||||
	</h4>
 | 
			
		||||
	<div class="ui attached segment">
 | 
			
		||||
		<form class="ui form" action="{{.Link}}" method="post">
 | 
			
		||||
@@ -69,7 +69,7 @@
 | 
			
		||||
			<tbody>
 | 
			
		||||
				{{range .Tasks}}
 | 
			
		||||
				<tr>
 | 
			
		||||
					<td><a href="{{.GetBuildViewLink}}" target="_blank">#{{.ID}}</a></td>
 | 
			
		||||
					<td><a href="{{.GetBuildViewLink}}" target="_blank">{{template "shared/actions/runner_id" .ID}}</a></td>
 | 
			
		||||
					<td><span class="ui label task-status-{{.Status.String}}">{{.Status.String}}</span></td>
 | 
			
		||||
					<td>{{.GetRepoName}}</td>
 | 
			
		||||
					<td><strong>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								templates/shared/actions/runner_id.tmpl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								templates/shared/actions/runner_id.tmpl
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
<i><b>#{{.}}</b></i>
 | 
			
		||||
@@ -62,12 +62,12 @@
 | 
			
		||||
					<td>
 | 
			
		||||
						{{if .Editable $.RunnerOnwerID $.RunnerRepoID}}
 | 
			
		||||
						<a href="{{$.Link}}/{{.ID}}" class="tooltip" data-content="{{.Description}}">
 | 
			
		||||
							<span class="runner-id">#{{.ID}}</span>
 | 
			
		||||
							<span class="runner-id">{{template "shared/actions/runner_id" .ID}}</span>
 | 
			
		||||
							<span class="runner-name">{{.Name}}</span>
 | 
			
		||||
						</a>
 | 
			
		||||
						{{else}}
 | 
			
		||||
						<p class="tooltip" data-content="{{.Description}}">
 | 
			
		||||
							<span class="runner-id">#{{.ID}}</span>
 | 
			
		||||
							<span class="runner-id">{{template "shared/actions/runner_id" .ID}}</span>
 | 
			
		||||
							<span class="runner-name">{{.Name}}</span>
 | 
			
		||||
						</p>
 | 
			
		||||
						{{end}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user