Browse Source

Merge branch 'main' into lang_de

lang_de
Stephan Richter 6 months ago
parent
commit
22e0138dd8
  1. 1
      static/templates/login.st
  2. 7
      static/templates/navigation.st

1
static/templates/login.st

@ -19,6 +19,5 @@ @@ -19,6 +19,5 @@
<button type="submit">Einloggen</button>
</fieldset>
</form>
<a href="reset-pw«if(data.email)»?email=«data.email»«endif»">Forgot password?</a>
</body>
</html>

7
static/templates/navigation.st

@ -1,7 +1,12 @@ @@ -1,7 +1,12 @@
<nav>
«if(data.user)»<a class="button logout" href="logout" />Logout</a>«endif»
«if(data.user)»
<a class="button logout" href="logout" />Logout</a>
«endif»
<a href="index">Home</a>
<a href="admin">Administration</a>
«if(!data.user)»
<a class="button" href="reset-pw" />Passwort vergessen?</a>
«endif»
<script type="text/javascript">
if ('«data.user.permissions»'.includes('admin')){

Loading…
Cancel
Save