mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
@@ -1,13 +1,8 @@
|
||||
@using Orchard.Utility.Extensions
|
||||
|
||||
@using Orchard.Workflows.Helpers
|
||||
@{
|
||||
string name = Model.Name;
|
||||
string actions = Model.State.Outcomes;
|
||||
var outcomes = String.Join(",", actions == null ? new string[0] : actions.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(x => "'" + x.Trim() + "'").ToArray());
|
||||
var outcomes = ((string)Model.State.Outcomes).FormatOutcomesJson();
|
||||
}
|
||||
|
||||
<div data-outcomes="@outcomes">
|
||||
<div class="diamond"></div>
|
||||
@*@name.CamelFriendly()*@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user