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:
Bertrand Le Roy
2012-08-12 17:04:42 -07:00
parent abf5b279dd
commit 7e3453d26e

View File

@@ -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> *@