Disturbing the graves...
} @else {
Loading ideas...
}
} @else if (!idea()) {
Idea not found.
} @else {
{{ idea()!.title }}
{{ isGraveyard ? 'In the Graveyard' : 'Alive' }}{{ idea()!.description }}
@if (isIdeaAuthor()) {
}
}
}
You cannot critique your own idea.
} @else if (currentUserHasFlaw()) {
You have already pointed out a cloud for this idea.
} @else {
Point out a cloud in the sky
@if (flawError()) {
{{ flawError() }}
}
@if (!showFlawForm()) {
} @else {
@if (!isGraveyard) {
}
Clouds in the Sky @if (flaws().length > 0) { ({{ flaws().length }}) }
} @else {The Flaws That Killed It @if (flaws().length > 0) { ({{ flaws().length }}) }
} @if (flawsLoading()) {
{{ isGraveyard ? 'Unearthing the flaws...' : 'Loading clouds...' }}
} @else if (flaws().length === 0) {
@if (!isGraveyard) {
Clear skies — this idea has no flaws yet.
} @else {
No flaws recorded. This idea died quietly.
}
} @else {
@for (flaw of flaws(); track flaw.id) {
@if (flaw.flaws.length > 0) {
@if (!isGraveyard) {
{{ flaw.flaws.length }} counter-cloud{{ flaw.flaws.length > 1 ? 's' : '' }}
} @else {
{{ flaw.flaws.length }} counter-flaw{{ flaw.flaws.length > 1 ? 's' : '' }}
}
} @else if (isGraveyard) {
Buried without a counter
}
@if (flaw.flaws.length > 0) {
}
}
{{ flaw.comment }}
by {{ flaw.user.name }}
@for (counterFlaw of flaw.flaws; track counterFlaw.id) {
}
}
{{ counterFlaw.comment }}
by {{ counterFlaw.user.name }}
@if (activeCounterFlawId() === flaw.id) {
@if (counterFlawError()) {
} @else if (currentUser()?.id !== flaw.user.id) {
}
{{ counterFlawError() }}
}