mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Bug 10418: cloudStack - service offering page, system service offering page - add "Host Tags" in details tab.
This commit is contained in:
		
							parent
							
								
									ea844bf902
								
							
						
					
					
						commit
						63d869facb
					
				| @ -156,8 +156,19 @@ dictionary = { | ||||
| 	                    </div>	 | ||||
| 	                </div> | ||||
| 	            </div> | ||||
| 	             | ||||
| 	            	             | ||||
| 	            <div class="grid_rows even"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.host.tags"/>:</div> | ||||
| 	                </div> | ||||
| 	                <div class="grid_row_cell" style="width: 79%;"> | ||||
| 	                    <div class="row_celltitles" id="hosttags"> | ||||
| 	                    </div>	 | ||||
| 	                </div> | ||||
| 	            </div>	                      | ||||
| 	             | ||||
| 	            <div class="grid_rows odd"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.domain"/>:</div> | ||||
| @ -170,7 +181,7 @@ dictionary = { | ||||
| 	                </div> | ||||
| 	            </div> | ||||
| 	             | ||||
| 	            <div class="grid_rows odd"> | ||||
| 	            <div class="grid_rows even"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.created"/>:</div> | ||||
|  | ||||
| @ -158,6 +158,17 @@ dictionary = { | ||||
| 	            </div> | ||||
| 	             | ||||
| 	            <div class="grid_rows even"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.host.tags"/>:</div> | ||||
| 	                </div> | ||||
| 	                <div class="grid_row_cell" style="width: 79%;"> | ||||
| 	                    <div class="row_celltitles" id="hosttags"> | ||||
| 	                    </div>	 | ||||
| 	                </div> | ||||
| 	            </div>	    | ||||
| 	             | ||||
| 	            <div class="grid_rows odd"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.default.use"/>:</div> | ||||
| @ -168,7 +179,7 @@ dictionary = { | ||||
| 	                </div> | ||||
| 	            </div> | ||||
| 	             | ||||
| 	            <div class="grid_rows odd"> | ||||
| 	            <div class="grid_rows even"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.domain"/>:</div> | ||||
| @ -181,7 +192,7 @@ dictionary = { | ||||
| 	                </div> | ||||
| 	            </div> | ||||
| 	             | ||||
| 	            <div class="grid_rows even"> | ||||
| 	            <div class="grid_rows odd"> | ||||
| 	                <div class="grid_row_cell" style="width: 20%;"> | ||||
| 	                    <div class="row_celltitles"> | ||||
| 	                        <fmt:message key="label.created"/>:</div> | ||||
|  | ||||
| @ -334,6 +334,8 @@ function serviceOfferingJsonToDetailsTab() { | ||||
|      | ||||
|     $thisTab.find("#tags").text(fromdb(jsonObj.tags));  | ||||
|     $thisTab.find("#tags_edit").val(fromdb(jsonObj.tags)); | ||||
|      | ||||
|     $thisTab.find("#hosttags").text(fromdb(jsonObj.hosttags));  | ||||
|      | ||||
|     $thisTab.find("#domain").text(fromdb(jsonObj.domain));  | ||||
|     $thisTab.find("#domain_edit").val(fromdb(jsonObj.domainid));    | ||||
| @ -368,7 +370,8 @@ function serviceOfferingClearDetailsTab() { | ||||
|     $thisTab.find("#offerha").text(""); | ||||
|     $thisTab.find("#offerha_edit").val("");     | ||||
|     $thisTab.find("#limitcpuuse").text(""); | ||||
|     $thisTab.find("#tags").text("");   | ||||
|     $thisTab.find("#tags").text("");   | ||||
|     $thisTab.find("#hosttags").text("");  | ||||
|     $thisTab.find("#domain").text("");  | ||||
|     $thisTab.find("#domain_edit").val("");    | ||||
|     $thisTab.find("#created").text("");  | ||||
|  | ||||
| @ -334,7 +334,9 @@ function systemServiceOfferingJsonToDetailsTab() { | ||||
|      | ||||
|     $thisTab.find("#tags").text(fromdb(jsonObj.tags));  | ||||
|     $thisTab.find("#tags_edit").val(fromdb(jsonObj.tags)); | ||||
|         | ||||
|       | ||||
|     $thisTab.find("#hosttags").text(fromdb(jsonObj.hosttags));  | ||||
|      | ||||
|     setBooleanReadField(jsonObj.defaultuse,  $thisTab.find("#defaultuse")); | ||||
|      | ||||
|     $thisTab.find("#domain").text(fromdb(jsonObj.domain));  | ||||
| @ -377,7 +379,8 @@ function systemServiceOfferingClearDetailsTab() { | ||||
|     $thisTab.find("#offerha").text(""); | ||||
|     $thisTab.find("#offerha_edit").val("");   | ||||
|     $thisTab.find("#limitcpuuse").text(""); | ||||
|     $thisTab.find("#tags").text("");       | ||||
|     $thisTab.find("#tags").text("");  | ||||
|     $thisTab.find("#hosttags").text("");  | ||||
|     $thisTab.find("#defaultuse").text("");      | ||||
|     $thisTab.find("#domain").text("");  | ||||
|     $thisTab.find("#domain_edit").val("");    | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user