mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Adding link to media from media editor in case it's not indetified as an image.
--HG-- branch : 1.x
This commit is contained in:
@@ -28,6 +28,9 @@
|
|||||||
<img src="@Model.PublicUrl" class="previewImage"/>
|
<img src="@Model.PublicUrl" class="previewImage"/>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
<a href="@Model.PublicUrl">@Model.Name</a>
|
||||||
|
}
|
||||||
@* todo: make these real (including markup) *@
|
@* todo: make these real (including markup) *@
|
||||||
<div>
|
<div>
|
||||||
@* <label>@T("Dimensions: <span>500 x 375 pixels</span>")</label> *@
|
@* <label>@T("Dimensions: <span>500 x 375 pixels</span>")</label> *@
|
||||||
|
|||||||
Reference in New Issue
Block a user