mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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"/>
|
||||
</div>
|
||||
}
|
||||
else {
|
||||
<a href="@Model.PublicUrl">@Model.Name</a>
|
||||
}
|
||||
@* todo: make these real (including markup) *@
|
||||
<div>
|
||||
@* <label>@T("Dimensions: <span>500 x 375 pixels</span>")</label> *@
|
||||
|
Reference in New Issue
Block a user