Add priority
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@using LeafWeb.Core.Entities
|
||||
@model Priority
|
||||
@{
|
||||
switch (Model)
|
||||
{
|
||||
case Priority.Normal:<span class="glyphicon glyphicon-unchecked"></span>break;
|
||||
case Priority.Low:<span class="glyphicon glyphicon-collapse-down"></span>break;
|
||||
case Priority.High:<span class="glyphicon glyphicon-collapse-up"></span>break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user