+ }
+ @if (item.CatalogueRestrictedAccess && !Model.HideRestrictedBadge && showCatalogueFieldsInResources)
+ {
+
+ @((item.CatalogueHasAccess || this.User.IsInRole("Administrator")) ? "Access Granted" : "Access restricted")
+
+
+ Audience access level:
+ @ResourceAccessLevelHelper.GetResourceAccessLevelText((ResourceAccessibilityEnum)item.ResourceAccessLevel)
+
+
+
+ Type:
+ @UtilityHelper.GetPrettifiedResourceTypeNameMoodle(UtilityHelper.ToEnum(item.ResourceType), 0)
+
+
+ @if (item.ResourceType != "moodle")
+ {
+ @await Html.PartialAsync("../Shared/_StarRating.cshtml", item.Rating)
+ }
+
+
+ @if (!string.IsNullOrWhiteSpace(item.CatalogueBadgeUrl) && showCatalogueFieldsInResources)
+ {
+

+ }
+
+ @if (!string.IsNullOrEmpty(item.CatalogueName) && !this.Model.CatalogueId.HasValue && showCatalogueFieldsInResources)
+ {
+
+ }
+
+
+ @UtilityHelper.GetAttribution(item.Authors)
+ @if (!string.IsNullOrEmpty(item.AuthoredDate))
+ {
+ @UtilityHelper.GetInOn(item.AuthoredDate)
+ @: @item.AuthoredDate
+ }
+
+