mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing Razor2 compilation
--HG-- branch : 1.x
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
@foreach (var item in Model.Extensions) {
|
@foreach (var item in Model.Extensions) {
|
||||||
<li>
|
<li>
|
||||||
@{
|
@{
|
||||||
string iconUrl = @item.IconUrl;
|
string iconUrl = item.IconUrl;
|
||||||
if (string.IsNullOrWhiteSpace(iconUrl)) {
|
if (string.IsNullOrWhiteSpace(iconUrl)) {
|
||||||
iconUrl = Href("../../Content/Images/ModuleDefaultIcon.png");
|
iconUrl = Href("../../Content/Images/ModuleDefaultIcon.png");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user