mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	bugfix: instances list block poweron when is_template for normal users
This commit is contained in:
		
							parent
							
								
									7cdac17b53
								
							
						
					
					
						commit
						738993d97a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -166,7 +166,7 @@ | |||
|                                                             <input type="hidden" name="name" value="{{ vm.name }}"/> | ||||
|                                                             <input type="hidden" name="compute_id" value="{{ vm.compute_id }}"/> | ||||
|                                                             {% ifequal vm.status 5 %} | ||||
|                                                                 <button class="btn btn-sm btn-default {% if info.is_template %}disabled{% endif %}" type="submit" name="poweron" title="Power On"> | ||||
|                                                                 <button class="btn btn-sm btn-default {% if inst.instance.is_template %}disabled{% endif %}" type="submit" name="poweron" title="Power On"> | ||||
|                                                                     <span class="glyphicon glyphicon-play"></span> | ||||
|                                                                 </button> | ||||
|                                                                 <button class="btn btn-sm btn-default disabled" title="{% trans "Power Off" %}"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue