Better wording of new namespace and list buttons
This commit is contained in:
parent
b12869e509
commit
dde28a9710
1 changed files with 13 additions and 3 deletions
|
@ -1,16 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="content namespaces-list loader-container" :class="{'is-loading': loading}">
|
<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">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
Create new namespace
|
Create namespace
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link :to="{name: 'filters.create'}" class="button is-primary new-namespace">
|
<router-link :to="{name: 'filters.create'}" class="button is-primary new-namespace">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="filter"/>
|
<icon icon="filter"/>
|
||||||
</span>
|
</span>
|
||||||
Create a new saved filter
|
Create saved filter
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<fancycheckbox class="show-archived-check" v-model="showArchived">
|
<fancycheckbox class="show-archived-check" v-model="showArchived">
|
||||||
|
@ -18,6 +18,16 @@
|
||||||
</fancycheckbox>
|
</fancycheckbox>
|
||||||
|
|
||||||
<div :key="`n${n.id}`" class="namespace" v-for="n in namespaces">
|
<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>
|
<h1>
|
||||||
<span>{{ n.title }}</span>
|
<span>{{ n.title }}</span>
|
||||||
<span class="is-archived" v-if="n.isArchived">
|
<span class="is-archived" v-if="n.isArchived">
|
||||||
|
|
Loading…
Reference in a new issue