Search for both LeafInput and LeafInputData
This commit is contained in:
@@ -54,21 +54,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@helper Details_AdminLink(dynamic item)
|
||||
@helper Details_AdminLink(LeafInput item)
|
||||
{
|
||||
var cssClass = CssClassUtil.CreateCssClassDataDictionary("dropdown-item");
|
||||
|
||||
@Html.Partial("DisplayTemplates/_Details_AdminLink", (int)item.Id, cssClass)
|
||||
}
|
||||
|
||||
@helper Details_ResultsLink(dynamic item)
|
||||
@helper Details_ResultsLink(LeafInput item)
|
||||
{
|
||||
var cssClass = CssClassUtil.CreateCssClassDataDictionary("dropdown-item");
|
||||
|
||||
@Html.Partial("DisplayTemplates/_Details_ResultsLink", (int)item.Id, cssClass)
|
||||
}
|
||||
|
||||
@helper ChartLink(dynamic item)
|
||||
@helper ChartLink(LeafInput item)
|
||||
{
|
||||
var cssClass = CssClassUtil.CreateCssClassDataDictionary("dropdown-item");
|
||||
|
||||
@@ -79,13 +79,13 @@
|
||||
@Html.Partial("DisplayTemplates/_ChartLink", (int)item.Id, cssClass)
|
||||
}
|
||||
|
||||
@helper DownloadInput(dynamic item)
|
||||
@helper DownloadInput(LeafInput item)
|
||||
{
|
||||
<a href="@Url.Action("Input", "Download", new {id = item.Id})" class="dropdown-item">
|
||||
<span class="fa fa-download"></span> Input
|
||||
</a>
|
||||
}
|
||||
@helper DownloadOutputToUser(dynamic item)
|
||||
@helper DownloadOutputToUser(LeafInput item)
|
||||
{
|
||||
<a href="@Url.Action("OutputToUser", "Download", new {id = item.Id})" class="dropdown-item @DisableItem(!item.HasOutputFiles)">
|
||||
<span class="fa fa-download"></span> Output
|
||||
|
||||
Reference in New Issue
Block a user