Favicons, page improvements
This commit is contained in:
@@ -28,15 +28,15 @@
|
||||
}
|
||||
|
||||
|
||||
@using (Html.BeginUmbracoForm<QueueController>(
|
||||
@*@using (Html.BeginUmbracoForm<QueueController>(
|
||||
"SendUserChartLink", null, new { @class = "confirm", confirm_msg = "Confirm sending email to user" }))
|
||||
{
|
||||
<input type="hidden" name="id" value="@Model.LeafInputId" />
|
||||
<button type="submit" class="btn btn-default" @{if (!Model.HasLeafChart) { <text> disabled="disabled" </text> }}>
|
||||
<span class="glyphicon glyphicon-send"></span> Email User Chart link
|
||||
</button>
|
||||
}
|
||||
@DeleteLink(Model.LeafInputId, Model.IsDeletable)
|
||||
}*@
|
||||
@DeleteLink(Model.LeafInputId, Model.Identifier, Model.IsDeletable)
|
||||
</div>
|
||||
<div class="col-sm-9">
|
||||
@Html.DisplayForModel()
|
||||
@@ -44,11 +44,11 @@
|
||||
</div>
|
||||
|
||||
|
||||
@helper DeleteLink(int id, bool deletable)
|
||||
@helper DeleteLink(int id, string identifier, bool deletable)
|
||||
{
|
||||
using (Html.BeginUmbracoForm<QueueController>(
|
||||
"Delete", null, new { @class = "confirm", confirm_msg = "Deletion cannot be undone! Confirm deleting '" + identifier + "'." }))
|
||||
{
|
||||
using (Html.BeginUmbracoForm<QueueController>(
|
||||
"Delete", null, new { @class = "confirm", confirm_msg = "Deletion cannot be undone!" }))
|
||||
{
|
||||
<input type="hidden" name="id" value="@id" />
|
||||
<button type="submit" class="btn btn-default" @{if (!deletable) { <text> disabled="disabled" </text> }}>
|
||||
<span class="glyphicon glyphicon-remove"></span> Delete
|
||||
|
||||
Reference in New Issue
Block a user