1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-12-06 16:28:06 +00:00

Merge remote-tracking branch 'rename/develop'

This commit is contained in:
Ozzieisaacs
2019-11-16 08:01:18 +01:00
18 changed files with 1168 additions and 1082 deletions

View File

@@ -3,7 +3,7 @@
<div class="discover">
<h1>{{title}}</h1>
<form role="form" method="POST" autocomplete="off">
{% if g.user and g.user.role_admin() and new_user %}
{% if new_user or ( g.user and content.nickname != "Guest" and g.user.role_admin() ) %}
<div class="form-group required">
<label for="nickname">{{_('Username')}}</label>
<input type="text" class="form-control" name="nickname" id="nickname" value="{{ content.nickname if content.nickname != None }}" autocomplete="off">