mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Add message to tagManegement
This commit is contained in:
parent
c0b1e97602
commit
a2951d1f05
@ -354,6 +354,12 @@
|
|||||||
<i>No unused tags matching.</i>
|
<i>No unused tags matching.</i>
|
||||||
</ListGroupItem>
|
</ListGroupItem>
|
||||||
</ListGroup>
|
</ListGroup>
|
||||||
|
{:else}
|
||||||
|
<ListGroup class="mb-3">
|
||||||
|
<ListGroupItem disabled>
|
||||||
|
<i>No unused tags available.</i>
|
||||||
|
</ListGroupItem>
|
||||||
|
</ListGroup>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if newTagType && newTagName && isNewTag(newTagType, newTagName)}
|
{#if newTagType && newTagName && isNewTag(newTagType, newTagName)}
|
||||||
@ -381,8 +387,14 @@
|
|||||||
</Col>
|
</Col>
|
||||||
{/if}
|
{/if}
|
||||||
</Row>
|
</Row>
|
||||||
{:else if allTagsFiltered.length == 0}
|
{:else if filterTerm !== "" && allTagsFiltered.length == 0}
|
||||||
<Alert color="info">Search Term is not a valid Tag (<code>type: name</code>)</Alert>
|
<Alert color="info">
|
||||||
|
Search Term is not a valid Tag (<code>type: name</code>)
|
||||||
|
</Alert>
|
||||||
|
{:else if filterTerm == "" && unusedTagsFiltered.length == 0}
|
||||||
|
<Alert color="info">
|
||||||
|
Type "<code>type: name</code>" into the search field to create a new tag.
|
||||||
|
</Alert>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user