Fix for U4-8612 so that Icon shows when installing a local package

This commit is contained in:
Jeavon
2016-06-20 13:07:16 +01:00
parent 2a5dcef5f9
commit 05ed8e9530
3 changed files with 6 additions and 2 deletions

View File

@@ -53,8 +53,8 @@
<form novalidate name="localPackageForm">
<div class="umb-package-icon">
<i ng-if="!vm.localPackage.icon" class="icon-box"></i>
<img ng-if="vm.localPackage.icon" ng-src="{{vm.localPackage.icon}}" alt="" />
<i ng-if="!vm.localPackage.iconUrl" class="icon-box"></i>
<img ng-if="vm.localPackage.iconUrl" ng-src="{{vm.localPackage.iconUrl}}" alt="" />
</div>

View File

@@ -233,6 +233,7 @@ namespace Umbraco.Web.Editors
model.Name = ins.Name;
model.Author = ins.Author;
model.AuthorUrl = ins.AuthorUrl;
model.IconUrl = ins.IconUrl;
model.License = ins.License;
model.LicenseUrl = ins.LicenseUrl;
model.ReadMe = ins.ReadMe;

View File

@@ -83,5 +83,8 @@ namespace Umbraco.Web.Models
[DataMember(Name = "author")]
public string Author { get; set; }
[DataMember(Name = "iconUrl")]
public string IconUrl { get; set; }
}
}