@item.Category / @item.Status
@item.DisplayTitle
@item.ShortDescription
- Code
@item.StableCode- Provider
- @(item.Provider ?? "Not generated") @(item.Model is null ? string.Empty : $" / {item.Model}")
- Template
- @(item.PromptTemplateVersion ?? "Not generated")
- Source
- @generationSource
- Updated
- @item.UpdatedUtc.ToString("yyyy-MM-dd HH:mm") UTC @if (item.ApprovedUtc.HasValue) {
- Approved
- @item.ApprovedUtc.Value.ToString("yyyy-MM-dd HH:mm") UTC } @if (item.RejectedUtc.HasValue) {
- Rejected
- @item.RejectedUtc.Value.ToString("yyyy-MM-dd HH:mm") UTC } @if (!string.IsNullOrWhiteSpace(item.LastError)) {
- Failure
- @(item.ErrorMessage ?? item.LastError) }
Prompt and metadata
@if (item.Status is IllustrationLibraryStatuses.Planned or IllustrationLibraryStatuses.Failed or IllustrationLibraryStatuses.Rejected)
{
}
@if (item.Status == IllustrationLibraryStatuses.Generated)
{
}
@if (item.Status is IllustrationLibraryStatuses.Generated or IllustrationLibraryStatuses.Approved or IllustrationLibraryStatuses.Rejected or IllustrationLibraryStatuses.Failed or IllustrationLibraryStatuses.Superseded)
{
}
@if (item.Status != IllustrationLibraryStatuses.Disabled)
{
}