Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/app/management/pages/crag-sectors/crag-sectors.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ <h1>{{ heading }}</h1>
</div>

<div class="container p15 mt-16">
<div
*ngIf="sectors.length === 1 && !sectors[0].label && !sectors[0].name"
class="noname notice"
>
Če je to plezališče brez sektorjev, nadaljuj z urejanjem smeri v sektorju
brez imena. Če je to plezališče z več sektorji, najprej uredi sektor brez
imena, tako da mu spremeniš ime, nato pa dodaj še druge sektorje.
</div>

<div
cdkDropList
(cdkDropListDropped)="drop($event)"
Expand All @@ -42,6 +51,11 @@ <h1>{{ heading }}</h1>
}"
>
<div class="name" fxFlex="100" fxFlex.lt-sm>
<span
*ngIf="sectors.length == 1 && !sector.label && !sector.name"
class="noname"
>Brez imena</span
>
<span>{{ sector.label }}</span> {{ sector.name }}
</div>
<div fxFlex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,12 @@
}
}
}

.noname {
color: $text-gray;
font-style: italic;
}

.notice {
padding: 12px;
}