Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
7841b35
Admin UI and WebUI update to consume the Open API endpoints
OluwatobiAwe Jun 4, 2025
a4b7ce1
api route fix
OluwatobiAwe Jun 4, 2025
fbdd80c
.
OluwatobiAwe Jun 4, 2025
2f30da1
P3 endpoint fix
OluwatobiAwe Jun 6, 2025
03d41a6
Moved all nuget packages to central package management
Jun 6, 2025
340ae1e
Added event endpoint to the open api
OluwatobiAwe Jun 9, 2025
021c080
catalogue service test fix
OluwatobiAwe Jun 6, 2025
beda631
Update continuous-integration-workflow.yml
binon Jun 9, 2025
fccfc4a
Updated dashboard event to use the open api
OluwatobiAwe Jun 9, 2025
9f27f21
Internal Sytem db mapping
OluwatobiAwe Jun 9, 2025
6766426
azure appsetting config
OluwatobiAwe Jun 11, 2025
be135d4
TD-5003: Issue showing 1 sec delay when played Video/Audio resources …
swapnamol-abraham Jun 13, 2025
c1aa250
Merge pull request #1170 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 13, 2025
f15174a
updatiing the nuget.config file
Jun 13, 2025
51467d1
Merge branch 'Develop/Features/TD-3683_implement_central_package_mana…
Jun 13, 2025
de8cc48
image annotation mapping
OluwatobiAwe Jun 12, 2025
6894891
appsettings update
OluwatobiAwe Jun 13, 2025
55acd9f
TD-5665-Adding resources to the community catalogue is suspended
swapnamol-abraham Jun 16, 2025
0bd9e91
Td-5664: Implement a business rule tieing 'Contribute a resource' and…
swapnamol-abraham Jun 16, 2025
4ec4010
TD-5664: Implement a business rule tieing 'Contribute a resource' and…
swapnamol-abraham Jun 16, 2025
4e10030
Removed commented lines
swapnamol-abraham Jun 16, 2025
2b43672
Update nuget.config
binon Jun 16, 2025
7d8e96e
Removed the commented lines
swapnamol-abraham Jun 17, 2025
3d71f78
Merge pull request #1172 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 17, 2025
4aafc75
Merge pull request #1173 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 17, 2025
e662e23
Merge pull request #1184 from TechnologyEnhancedLearning/release-v1.6…
AnjuJose011 Jun 17, 2025
4e1d065
TD-5663: Post log in dashboard - remove banner promoting contribute a…
swapnamol-abraham Jun 17, 2025
8a84fc0
Additional Updates
OluwatobiAwe Jun 17, 2025
a6e7be6
.
OluwatobiAwe Jun 17, 2025
7a482a3
api key appsettings variable update
OluwatobiAwe Jun 17, 2025
82d6823
merge RC into branch
OluwatobiAwe Jun 17, 2025
61475ca
Merge pull request #1185 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 17, 2025
ff61a9e
Route typo fix
OluwatobiAwe Jun 17, 2025
39ac467
Merge pull request #1188 from TechnologyEnhancedLearning/Develop/Feat…
AnjuJose011 Jun 17, 2025
19f0a1b
endpoint update
OluwatobiAwe Jun 17, 2025
b3e9c37
Bump AngleSharp and 49 others
dependabot[bot] Jun 17, 2025
705b3ce
Merge pull request #1189 from TechnologyEnhancedLearning/dependabot/n…
binon Jun 17, 2025
caac5f1
service dependency issue
OluwatobiAwe Jun 17, 2025
949ec30
Bump AngleSharp and 4 others
dependabot[bot] Jun 17, 2025
283d428
Merge pull request #1190 from TechnologyEnhancedLearning/dependabot/n…
binon Jun 17, 2025
07ff7c4
Revering web.config
Jun 18, 2025
3de8392
fixing the conflict
Jun 18, 2025
5b9eeb2
TD-5501 Route fix for GetallbyParent Bookmark dual endpoint
OluwatobiAwe Jun 18, 2025
0f51a37
Merge pull request #1191 from TechnologyEnhancedLearning/Automatic_ve…
binon Jun 18, 2025
51557ec
Merge pull request #1193 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 18, 2025
868878f
Update Directory.Packages.props-System.IdentityModel.Tokens.Jwt
AnjuJose011 Jun 18, 2025
bf84f42
Update Directory.Packages.props-Automapper version
AnjuJose011 Jun 18, 2025
63c876a
Update Directory.Packages.props
AnjuJose011 Jun 18, 2025
7839096
For testing purpose commented the cache call.
swapnamol-abraham Jun 18, 2025
8ac97c7
Merge pull request #1197 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Jun 18, 2025
0fd9547
Delete nuget.config
binon Jun 18, 2025
2dc2f52
TD-5496
OluwatobiAwe Jun 18, 2025
aef4cec
Merge pull request #1198 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 18, 2025
e69bf4d
TD-5498: Search issue fixed
ArunimaGeorge Jun 18, 2025
e3de851
Merge pull request #1199 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 18, 2025
1fb6073
TD-5499: Replace Web API layer with Open API -My Contributions-Contri…
swapnamol-abraham Jun 19, 2025
ebb0111
Merge pull request #1200 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 19, 2025
6463dfd
LH Navigation Update
OluwatobiAwe Jun 19, 2025
0442273
Merge pull request #1201 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 19, 2025
e8c4abb
lh update
OluwatobiAwe Jun 19, 2025
03175ed
Merge pull request #1202 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 19, 2025
166e6a4
Moved all .nhsuk classes to nhsuk.scss. grouped and commented
frank-hee Jun 19, 2025
23cc87f
Revering cpm changes
Jun 19, 2025
f63c941
TD-5703: Fixed issues in auto suggestion and search feedback
ArunimaGeorge Jun 20, 2025
3b63ff2
Merge pull request #1204 from TechnologyEnhancedLearning/Develop/Fixe…
ArunimaGeorge Jun 20, 2025
75e3e7a
TD-5502: Replace Web API layer with Open API Layer -Admin Operations-…
swapnamol-abraham Jun 20, 2025
ad892e7
Reverted the config changes
swapnamol-abraham Jun 20, 2025
3570bb3
Merge pull request #1203 from TechnologyEnhancedLearning/revert_cpm_c…
AnjuJose011 Jun 20, 2025
87b3788
Changed the LH menu item order
OluwatobiAwe Jun 23, 2025
e446a00
Merge pull request #1206 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 23, 2025
31c677a
Removed optional referenece from the service class
swapnamol-abraham Jun 23, 2025
a4c2147
Merge pull request #1205 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Jun 23, 2025
448c0c8
Removed unnecessary whitespace at end of nhsuk.css
frank-hee Jun 23, 2025
cea2f79
TD-5499: Open API replacement- To fiox the LMS connection issue on S…
swapnamol-abraham Jun 23, 2025
652cd24
Merge pull request #1211 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 24, 2025
c38af42
Userbookmark bugfix
OluwatobiAwe Jun 24, 2025
812e46c
Merge pull request #1212 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jun 24, 2025
73aa0c2
TD-5708:Users Cannot Upload files on Test and Live Learning Hub Due t…
swapnamol-abraham Jun 25, 2025
2049905
TD-5715: My accessed learning tray - navigation link doesn't work
swapnamol-abraham Jun 25, 2025
5beacca
Merge pull request #1213 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Jun 25, 2025
725c3e4
Merge pull request #1214 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 26, 2025
0c3009f
TD-5665: Community Contribution Suspend
swapnamol-abraham Jun 26, 2025
09c49db
Corrected the sentence
swapnamol-abraham Jun 26, 2025
b0dace0
Merge pull request #1217 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Jun 26, 2025
98bd92a
Search Feedback fix
OluwatobiAwe Jun 27, 2025
3e54a6c
Merge pull request #1222 from TechnologyEnhancedLearning/search-feedb…
OluwatobiAwe Jun 27, 2025
7af1e40
TD-5708: Password validation is failing for the users with password '&;
swapnamol-abraham Jun 27, 2025
50adea1
Merge pull request #1223 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jun 27, 2025
dd65df0
db mapping update
TobiAwe Jul 1, 2025
1be767e
Merge pull request #1225 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jul 1, 2025
199a267
Addition of a missing endpoint
TobiAwe Jul 1, 2025
e19a1eb
Merge pull request #1226 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Jul 1, 2025
102ebab
Reverted the commented code
swapnamol-abraham Jul 2, 2025
2b7e8f6
Merge pull request #1231 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jul 2, 2025
a383b72
Update continuous-integration-workflow.yml
binon Jul 4, 2025
8d0f9a7
fixes
AnjuJose011 Jul 7, 2025
9bd5c68
Merge pull request #1244 from TechnologyEnhancedLearning/TD-5502-Cata…
AnjuJose011 Jul 8, 2025
8b19c83
Merge RC changes into TD-5490 branch
swapnamol-abraham Jul 8, 2025
0187263
Merge RC into 5490 Branch
swapnamol-abraham Jul 8, 2025
c301902
Merge pull request #1250 from TechnologyEnhancedLearning/Merge-RC-int…
swapnamol-abraham Jul 8, 2025
993b3c7
TD-5500: Invalid date time in my learning page
swapnamol-abraham Jul 8, 2025
385c0e5
Merge pull request #1251 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jul 8, 2025
3dbcd20
Merge pull request #1258 from TechnologyEnhancedLearning/Develop/Fixe…
frank-hee Jul 14, 2025
6489346
TD-5752: Issue showing 'Your password has been changed' when logged o…
swapnamol-abraham Jul 14, 2025
d4d0272
Merge pull request #1265 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Jul 14, 2025
ac4c0d6
Merge pull request #1272 from TechnologyEnhancedLearning/TD-5490
AnjuJose011 Jul 17, 2025
4ae759a
Revert "Merge pull request #1258 from TechnologyEnhancedLearning/Deve…
AnjuJose011 Jul 22, 2025
f013da6
Fixes
AnjuJose011 Jul 23, 2025
4003a42
Merge pull request #1278 from TechnologyEnhancedLearning/Added-Commin…
AnjuJose011 Jul 23, 2025
8983d3f
Move .nhsuk overrides to new scss file and update layout
frank-hee Jul 23, 2025
9610db9
conflicts resolved
AnjuJose011 Jul 24, 2025
ef8a807
Merge pull request #1279 from TechnologyEnhancedLearning/Develop/Feat…
AnjuJose011 Jul 25, 2025
04d9db2
fixed banner image and checkbox scss bug
frank-hee Jul 28, 2025
69fe7e3
Merge pull request #1282 from TechnologyEnhancedLearning/Develop/Feat…
AnjuJose011 Jul 28, 2025
81c4c2c
upadtes-TD-5868
AnjuJose011 Jul 31, 2025
e379b72
Merge pull request #1292 from TechnologyEnhancedLearning/TD-5868-Keyw…
AnjuJose011 Jul 31, 2025
70f9491
Update ContentCommon.vue
AnjuJose011 Jul 31, 2025
228dd09
TD-5892: Issue with the resources when try to edit and republish whic…
swapnamol-abraham Aug 4, 2025
e115d27
Merge pull request #1299 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Aug 5, 2025
f30f63f
Removed text
swapnamol-abraham Aug 5, 2025
61deccd
Merge pull request #1300 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Aug 5, 2025
dc60cfd
TD-5892: bug fix for the new resource creation
swapnamol-abraham Aug 7, 2025
0ebb09b
Merge pull request #1310 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Aug 7, 2025
e403b98
TD-5892: bug fix
swapnamol-abraham Aug 8, 2025
aa1edca
Merge pull request #1313 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Aug 8, 2025
b1b2ac5
TD-5916: Catalogue access not working
swapnamol-abraham Aug 11, 2025
fe9a093
TD-5917: Fixed padding issue.
ArunimaGeorge Aug 11, 2025
793217d
Merge pull request #1318 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Aug 12, 2025
d5eae3e
Merge pull request #1317 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 Aug 12, 2025
4905788
TD-5920: Issue showing catalogue as 'Access restricted' on Catalogues…
swapnamol-abraham Aug 12, 2025
47084b1
Merge pull request #1321 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Aug 12, 2025
a1e3058
TD-5490 auth issues for LH api request when user is yet to login
OluwatobiAwe Aug 13, 2025
da7c624
Merge pull request #1325 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Aug 13, 2025
ab438ca
TD-5929 Added missing appsettings variable
OluwatobiAwe Aug 13, 2025
70ebf90
Merge pull request #1326 from TechnologyEnhancedLearning/Develop/Fixe…
OluwatobiAwe Aug 13, 2025
351f55a
Fixed the routing issues for the unauthorized user access
swapnamol-abraham Aug 18, 2025
43cb646
Merge pull request #1335 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Aug 18, 2025
8b0487f
Styleing issues fixed
swapnamol-abraham Aug 18, 2025
abb1816
Merge pull request #1336 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Aug 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 19 additions & 81 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,99 +9,38 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- name: Modify web.config files in all apps
shell: pwsh
run: |
$webConfigPaths = @(
"${{ github.workspace }}\AdminUI\LearningHub.Nhs.AdminUI\web.config",
"${{ github.workspace }}\WebAPI\LearningHub.Nhs.Api\web.config",
"${{ github.workspace }}\LearningHub.Nhs.WebUI\web.config"
)

foreach ($path in $webConfigPaths) {
if (Test-Path $path) {
Write-Host "Modifying $path"
[xml]$config = Get-Content $path

if (-not $config.configuration.'system.webServer') {
$systemWebServer = $config.CreateElement("system.webServer")
$config.configuration.AppendChild($systemWebServer) | Out-Null
} else {
$systemWebServer = $config.configuration.'system.webServer'
}

if (-not $systemWebServer.httpProtocol) {
$httpProtocol = $config.CreateElement("httpProtocol")
$systemWebServer.AppendChild($httpProtocol) | Out-Null
} else {
$httpProtocol = $systemWebServer.httpProtocol
}

if (-not $httpProtocol.customHeaders) {
$customHeaders = $config.CreateElement("customHeaders")
$httpProtocol.AppendChild($customHeaders) | Out-Null
} else {
$customHeaders = $httpProtocol.customHeaders
}

foreach ($name in @("X-Powered-By", "Server")) {
$removeNode = $config.CreateElement("remove")
$removeNode.SetAttribute("name", $name)
$customHeaders.AppendChild($removeNode) | Out-Null
}

if (-not $systemWebServer.security) {
$security = $config.CreateElement("security")
$systemWebServer.AppendChild($security) | Out-Null
} else {
$security = $systemWebServer.security
}

if (-not $security.requestFiltering) {
$requestFiltering = $config.CreateElement("requestFiltering")
$requestFiltering.SetAttribute("removeServerHeader", "true")
$security.AppendChild($requestFiltering) | Out-Null
}

$config.Save($path)
} else {
Write-Host "File not found: $path"
}
}


- name: Setup .NET Core SDK 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Add Azure artifact
run: dotnet nuget add source 'https://pkgs.dev.azure.com/e-LfH/_packaging/LearningHubFeed/nuget/v3/index.json' --name 'LearningHubFeed' --username 'kevin.whittaker' --password ${{ secrets.AZURE_DEVOPS_PAT }} --store-password-in-clear-text
run: |
dotnet nuget remove source LearningHubFeed || true
dotnet nuget add source 'https://pkgs.dev.azure.com/e-LfH/_packaging/LearningHubFeed/nuget/v3/index.json' --name 'LearningHubFeed' --username 'kevin.whittaker' --password ${{ secrets.AZURE_DEVOPS_PAT }} --store-password-in-clear-text

- name: Use Node 20 with Yarn
- name: Use Node 14
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Upgrade npm to the latest version
run: npm install -g npm@6.14.8
node-version: '14'
cache: 'npm'

- name: Typescript install WebUI
run: yarn install --network-timeout 600000 --frozen-lockfile
- name: npm install WebUI
run: npm install
working-directory: ./LearningHub.Nhs.WebUI

- name: Typescript build WebUI
run: yarn build:webpack
- name: npm build WebUI
run: npm run build:webpack
working-directory: ./LearningHub.Nhs.WebUI

- name: Typescript install AdminUI
run: yarn install
- name: npm install AdminUI
run: npm install
working-directory: ./AdminUI/LearningHub.Nhs.AdminUI

- name: Typescript build AdminUI
run: yarn build:webpack
working-directory: ./AdminUI/LearningHub.Nhs.AdminUI
- name: npm build AdminUI
run: npm run build:webpack
working-directory: ./AdminUI/LearningHub.Nhs.AdminUI

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.3
Expand Down Expand Up @@ -181,5 +120,4 @@ jobs:
}

# - name: Test
# run: dotnet test ${{ env.BuildParameters.TestProjects }}

# run: dotnet test ${{ env.BuildParameters.TestProjects }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ obj
/AdminUI/LearningHub.Nhs.AdminUI/LearningHub.Nhs.AdminUI.csproj.user
/WebAPI/LearningHub.Nhs.API/LearningHub.Nhs.Api.csproj.user
/ReportAPI/LearningHub.Nhs.ReportApi/web.config
/AdminUI/LearningHub.Nhs.AdminUI/web.config
/LearningHub.Nhs.WebUI/web.config
/WebAPI/LearningHub.Nhs.API/web.config
5 changes: 5 additions & 0 deletions AdminUI/LearningHub.Nhs.AdminUI/Configuration/WebSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public class WebSettings
/// </summary>
public string LearningHubApiUrl { get; set; }

/// <summary>
/// Gets or sets the OpenApiUrl.
/// </summary>
public string OpenApiUrl { get; set; }

/// <summary>
/// Gets or sets the user api url.
/// </summary>
Expand Down
59 changes: 59 additions & 0 deletions AdminUI/LearningHub.Nhs.AdminUI/Helpers/IOpenApiFacade.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
namespace LearningHub.Nhs.AdminUI.Helpers
{
using System.Threading.Tasks;
using LearningHub.Nhs.Models.Common;

/// <summary>
/// Defines the <see cref="IOpenApiFacade" />.
/// </summary>
public interface IOpenApiFacade
{
/// <summary>
/// The GetAsync.
/// </summary>
/// <typeparam name="T">The type.</typeparam>
/// <param name="url">The url.</param>
/// <returns>The <see cref="Task{T}"/>.</returns>
Task<T> GetAsync<T>(string url)
where T : class, new();

/// <summary>
/// The PostAsync.
/// </summary>
/// <typeparam name="T">The type.</typeparam>
/// <param name="url">The url.</param>
/// <param name="body">The body.</param>
/// <returns>The <see cref="Task"/>.</returns>
Task PostAsync<T>(string url, T body)
where T : class, new();

/// <summary>
/// The PostAsync.
/// </summary>
/// <typeparam name="T">The type.</typeparam>
/// <typeparam name="TBody">.</typeparam>
/// <param name="url">The url.</param>
/// <param name="body">The body.</param>
/// <returns>The <see cref="Task{T}"/>.</returns>
Task<ApiResponse> PostAsync<T, TBody>(string url, TBody body)
where T : class, new()
where TBody : class, new();

/// <summary>
/// The PutAsync.
/// </summary>
/// <param name="url">The url.</param>
/// <returns>The <see cref="Task"/>.</returns>
Task<ApiResponse> PutAsync(string url);

/// <summary>
/// The PutAsync.
/// </summary>
/// <typeparam name="T">.</typeparam>
/// <param name="url">The url.</param>
/// <param name="body">The body.</param>
/// <returns>The <see cref="Task"/>.</returns>
Task<ApiResponse> PutAsync<T>(string url, T body)
where T : class, new();
}
}
20 changes: 18 additions & 2 deletions AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningActivityHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,15 @@ public static string GetResourceTypeVerb(this MyLearningDetailedItemViewModel my
case ResourceTypeEnum.Article:
return "Read";
case ResourceTypeEnum.Audio:
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000);
if ((myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000) > myLearningDetailedItemViewModel.ResourceDurationMilliseconds)
{
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ResourceDurationMilliseconds);
}
else
{
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000);
}

case ResourceTypeEnum.Embedded:
return string.Empty;
case ResourceTypeEnum.Equipment:
Expand Down Expand Up @@ -113,7 +121,15 @@ public static string GetResourceTypeVerb(this MyLearningDetailedItemViewModel my
}

case ResourceTypeEnum.Video:
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000);
if ((myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000) > myLearningDetailedItemViewModel.ResourceDurationMilliseconds)
{
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ResourceDurationMilliseconds);
}
else
{
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000);
}

case ResourceTypeEnum.WebLink:
return "Visited";
case ResourceTypeEnum.Html:
Expand Down
Loading
Loading