fix minore: tolto edit item da pagina generale (da fare in itemDetail...)
update su IIS e update ZIP!
This commit is contained in:
@@ -106,13 +106,13 @@ namespace StockManMVC
|
||||
.WithHtmlEncoding(false)
|
||||
.WithValueExpression((i, c) => c.UrlHelper.Action("Duplicate", "Items", new { id = i.ID }))
|
||||
.WithValueTemplate("<a href='{Value}' title='Duplica Articolo' class='btn btn-xs btn-warning'><i class='glyphicon glyphicon-duplicate' aria-hidden='true'></i></a>");
|
||||
cols.Add("EditLink").WithColumnName("EditLink")
|
||||
.WithSorting(false)
|
||||
.WithVisibility(true, false)
|
||||
.WithHeaderText("")
|
||||
.WithHtmlEncoding(false)
|
||||
.WithValueExpression((i, c) => c.UrlHelper.Action("Edit", "Items", new { id = i.ID, mode = "full" }))
|
||||
.WithValueTemplate("<a href='{Value}' data-toggle=\"tooltip\" title=\"Modifica\" class='btn btn-xs btn-primary'><i class=\"glyphicon glyphicon-edit\"></i></a>");
|
||||
//cols.Add("EditLink").WithColumnName("EditLink")
|
||||
// .WithSorting(false)
|
||||
// .WithVisibility(true, false)
|
||||
// .WithHeaderText("")
|
||||
// .WithHtmlEncoding(false)
|
||||
// .WithValueExpression((i, c) => c.UrlHelper.Action("Edit", "Items", new { id = i.ID, mode = "full" }))
|
||||
// .WithValueTemplate("<a href='{Value}' data-toggle=\"tooltip\" title=\"Modifica\" class='btn btn-xs btn-primary'><i class=\"glyphicon glyphicon-edit\"></i></a>");
|
||||
})
|
||||
.WithRetrieveDataMethod((context) =>
|
||||
{
|
||||
|
||||
@@ -77,9 +77,9 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@Html.LabelFor(model => model.UM, htmlAttributes: new { @class = "control-label col-md-2 col-lg-4" })
|
||||
<div class="col-md-10 col-lg-8">
|
||||
@Html.EditorFor(model => model.UM, new { htmlAttributes = new { @class = "form-control", Value = "nr" } })
|
||||
@Html.LabelFor(model => model.UM, htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@Html.EditorFor(model => model.UM, new { htmlAttributes = new { @class = "form-control" } })
|
||||
@Html.ValidationMessageFor(model => model.UM, "", new { @class = "text-danger" })
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -66,6 +66,13 @@
|
||||
@Html.DisplayFor(model => model.CurrValue)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.UM)
|
||||
</dt>
|
||||
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.UM)
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user