Skip to content

Commit

Permalink
Merge branch 'OrchardCMS:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DotCat1985 authored Jul 5, 2024
2 parents bee2158 + 5207b37 commit da90684
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
</div>
}
<div class="activity-commands">
<a class="btn btn-sm btn-secondary activity-start-action" href="#" data-bs-toggle="button" title="@T["Startup task"]"><i class="fa-solid fa-power-off" aria-hidden="true"></i></a>
@if (isEvent)
{
<a class="btn btn-sm btn-secondary activity-start-action" href="#" data-bs-toggle="button" title="@T["Startup event"]"><i class="fa-solid fa-power-off" aria-hidden="true"></i></a>
}

@if (hasEditor)
{
<a class="btn btn-sm btn-primary activity-edit-action" asp-action="Edit" asp-controller="Activity" asp-route-workflowtypeid="@Model.WorkflowTypeId" asp-route-activityid="@activityRecord.ActivityId" asp-route-returnurl="@Model.ReturnUrl" data-persist-workflow="true" title="@T["Edit"]"><i class="fa-solid fa-pencil" aria-hidden="true"></i></a>
Expand Down

0 comments on commit da90684

Please sign in to comment.