Remove BlackBerry customizations

This commit is contained in:
2012-12-07 14:30:36 -05:00
parent 3272dd7975
commit 082edc214c
7 changed files with 9 additions and 80 deletions
+4 -10
View File
@@ -1,17 +1,13 @@
@using MileageTraker.Web.Utility
@model MileageTraker.Web.ViewModels.CreateLogViewModel
@{
ViewBag.Title = "Success";
var blackBerry = Request.IsBlackBerry();
ViewBag.PageStyle = blackBerry ? "~/Content/CreateLog/BlackBerry.css" : "~/Content/CreateLog/Index.css";
ViewBag.PageStyle = "~/Content/CreateLog/Index.css";
Layout = "~/Views/Shared/_Layout.min.cshtml";
}
@if (!blackBerry) {
@{
@:<fieldset>
<legend>@ViewBag.Title</legend>
}
<p>
You've successfully created an entry
for <strong>@Html.Encode(Model.EmployeeName)</strong>
@@ -22,8 +18,6 @@
<p>
@Html.ActionLink("Create another", "Index", null, new { @class = "ui-button" })
</p>
@if (!blackBerry)
{
@:</fieldset>
}
@:</fieldset>
}