diff options
| author | Michael <[email protected]> | 2017-04-06 17:51:38 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-06 17:51:38 -0400 |
| commit | e8b18cbf92db1537d9dd4e864ef848383a4ec65a (patch) | |
| tree | 48bf5d2afca02bba7d57c329dd0fe6adab617229 /Project-Unite/Views | |
| parent | 6f41a9f80fcf6529197c03a018f123c70fd40d7e (diff) | |
| download | project-unite-e8b18cbf92db1537d9dd4e864ef848383a4ec65a.tar.gz project-unite-e8b18cbf92db1537d9dd4e864ef848383a4ec65a.tar.bz2 project-unite-e8b18cbf92db1537d9dd4e864ef848383a4ec65a.zip | |
Make release screenshots optional.
Diffstat (limited to 'Project-Unite/Views')
| -rw-r--r-- | Project-Unite/Views/Download/ViewRelease.cshtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Project-Unite/Views/Download/ViewRelease.cshtml b/Project-Unite/Views/Download/ViewRelease.cshtml index 1ff6df8..56b8453 100644 --- a/Project-Unite/Views/Download/ViewRelease.cshtml +++ b/Project-Unite/Views/Download/ViewRelease.cshtml @@ -24,7 +24,10 @@ <iframe src="http://youtube.com/embed/@Model.DevUpdateId" frameborder="0" allowfullscreen autoplay="true" style="width:720px;height:480px;"></iframe> } + @if (!string.IsNullOrWhiteSpace(Model.ScreenshotUrl)) + { <img src="@Model.ScreenshotUrl" style="width:auto;height:auto;max-width:100%" /> + } @Html.Markdown(Model.Changelog) </div> |
