Add navigation links on users pages; close #187

Former-commit-id: 8e85fdb8938f3cb45561f0f7564f1877f8b7c1c1 [formerly 311658b86cd8c4304dfddaf04d89b06072b89245] [formerly da85ccd4c26d5aa9632884d0cc65ae259c5beeea [formerly a117f83256]]
Former-commit-id: 218b91f816d58ce0cc01cd2c7b590ac7ea5e589e [formerly f995eb799754c36567760aca8ce2455d33f6caa7]
Former-commit-id: f848927433956edda8a12083b8a53ce62d47f3ff
This commit is contained in:
Henrique Dias 2017-08-05 10:06:12 +01:00
parent 1527ca0c50
commit 2f60562143
3 changed files with 19 additions and 1 deletions

View File

@ -1,6 +1,15 @@
<template>
<div>
<form @submit="save" class="dashboard">
<ul id="nav">
<li>
<router-link to="/users">
<i class="material-icons">keyboard_arrow_left</i> {{ $t('settings.userManagement') }}
</router-link>
</li>
<li></li>
</ul>
<h1 v-if="id === 0">{{ $t('settings.newUser') }}</h1>
<h1 v-else>{{ $t('settings.user') }} {{ username }}</h1>

View File

@ -1,5 +1,14 @@
<template>
<div class="dashboard">
<ul id="nav">
<li>
<router-link to="/settings/global">
<i class="material-icons">keyboard_arrow_left</i> {{ $t('settings.globalSettings') }}
</router-link>
</li>
<li></li>
</ul>
<h1>{{ $t('settings.users') }} <router-link to="/users/new"><button>{{ $t('buttons.new') }}</button></router-link></h1>
<table>

View File

@ -1 +1 @@
2678061f4a5fd54d606c3bbaa3aa899a5e55cf37
33fa90cddc0801f2c1183bb969bf4c74bac012a3