[Fixes #5960] LinkEntry needs Sizes Attribute (#7303)

Fixes #5960
This commit is contained in:
Matthew Harris
2016-10-13 20:15:13 +01:00
committed by Sébastien Ros
parent b8bd587a9f
commit 99b0fd6ca7

View File

@@ -42,6 +42,15 @@ namespace Orchard.UI.Resources {
set { SetAttribute("href", value); }
}
public string Sizes {
get {
string value;
_builder.Attributes.TryGetValue("sizes", out value);
return value;
}
set { SetAttribute("sizes", value); }
}
public string GetTag() {
string tag = _builder.ToString(TagRenderMode.SelfClosing);
if (!string.IsNullOrEmpty(Condition)) {