| 
					
				 | 
			
			
				@@ -1,5 +1,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 checkRoute(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+let userBasics = JSON.parse(localStorage.getItem('user_profile')) || []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+if(userBasics !== []){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  $('.userName').html(`<h2 class="user-name text-white mt-4 fw-bold">Hello,${userBasics.user_info.userName}</h2>`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function checkRoute() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let jwt_token = get_jwt_token(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if(jwt_token == undefined) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -435,6 +440,7 @@ function load_data(tid, loaded_data, draft = false) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     imguploadlabel.setAttribute('for', `img${i + 1}`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     imguploadlabel.classList.add('upload-btn'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     imguploadlabel.textContent = '上傳檔案'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    imguploadlabel.setAttribute('set-lan', `html:upload_file`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     imgInputs.appendChild(imguploadlabel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -537,6 +543,7 @@ function renderimgBlock(i) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   imguploadlabel.setAttribute('for', `img${i}`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   imguploadlabel.classList.add('upload-btn'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   imguploadlabel.textContent = '上傳檔案'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  imguploadlabel.setAttribute('set-lan', `html:upload_file`); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   imgInputs.appendChild(imguploadlabel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   $('input[type=file]').on('change', prepareUpload); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |