Merge pull request #1813 from leigh-pointer/ModuleDefinitionsInUse
Modification to Module Management
This commit is contained in:
		| @ -22,6 +22,7 @@ else | ||||
|             <th style="width: 1px;"> </th> | ||||
|             <th>@SharedLocalizer["Name"]</th> | ||||
|             <th>@SharedLocalizer["Version"]</th> | ||||
|             <th>@Localizer["InUse"]</th> | ||||
|             <th>@SharedLocalizer["Expires"]</th> | ||||
|             <th style="width: 1px;"> </th> | ||||
|         </Header> | ||||
| @ -35,6 +36,16 @@ else | ||||
|             </td> | ||||
|             <td>@context.Name</td> | ||||
|             <td>@context.Version</td> | ||||
|             <td> | ||||
|                 @if(context.AssemblyName == "Oqtane.Client" || PageState.Modules.Where(m => m.ModuleDefinition.ModuleDefinitionId == context.ModuleDefinitionId).Count() > 0) | ||||
|                 { | ||||
|                     <span>@SharedLocalizer["Yes"]</span> | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     <span>@SharedLocalizer["No"]</span> | ||||
|                 } | ||||
|             </td> | ||||
|             <td> | ||||
|                 @((MarkupString)PurchaseLink(context.PackageName)) | ||||
|             </td> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker