User experience improvements
This commit is contained in:
		
							
								
								
									
										23
									
								
								Oqtane.Client/Themes/Controls/Container/ModuleTitle.razor
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Oqtane.Client/Themes/Controls/Container/ModuleTitle.razor
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | ||||
| @namespace Oqtane.Themes.Controls | ||||
| @inherits ContainerBase       | ||||
| @attribute [OqtaneIgnore] | ||||
|  | ||||
| <span class="app-moduletitle"> | ||||
|     @((MarkupString)title) | ||||
| </span> | ||||
|  | ||||
| @code { | ||||
|     private string title = ""; | ||||
|  | ||||
|     protected override void OnParametersSet() | ||||
|     { | ||||
|         if (!string.IsNullOrEmpty(ModuleState.ControlTitle)) | ||||
|         { | ||||
|             title = ModuleState.ControlTitle; | ||||
|         } | ||||
|         else | ||||
|         { | ||||
|             title = ModuleState.Title; | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker