Better wording of new namespace and list buttons
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2021-01-17 12:09:29 +01:00
parent b12869e509
commit dde28a9710
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 13 additions and 3 deletions

View File

@ -1,16 +1,16 @@
<template>
<div class="content namespaces-list loader-container" :class="{'is-loading': loading}">
<router-link :to="{name: 'namespace.create'}" class="button is-success new-namespace">
<router-link :to="{name: 'namespace.create'}" class="button is-primary new-namespace">
<span class="icon is-small">
<icon icon="plus"/>
</span>
Create new namespace
Create namespace
</router-link>
<router-link :to="{name: 'filters.create'}" class="button is-primary new-namespace">
<span class="icon is-small">
<icon icon="filter"/>
</span>
Create a new saved filter
Create saved filter
</router-link>
<fancycheckbox class="show-archived-check" v-model="showArchived">
@ -18,6 +18,16 @@
</fancycheckbox>
<div :key="`n${n.id}`" class="namespace" v-for="n in namespaces">
<router-link
:to="{name: 'list.create', params: {id: n.id}}"
class="button is-pulled-right"
v-if="n.id > 0">
<span class="icon is-small">
<icon icon="plus"/>
</span>
Create list
</router-link>
<h1>
<span>{{ n.title }}</span>
<span class="is-archived" v-if="n.isArchived">