diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-04-04 23:24:54 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-04-04 23:24:54 +0200 |
commit | ef09843b60ee565d270cf9575a9cfb420dcf2a0f (patch) | |
tree | 22fc76776fa0e8ccf407e289a176268123ba294d /src/web/templates | |
parent | Typo. (diff) | |
download | newspipe-ef09843b60ee565d270cf9575a9cfb420dcf2a0f.tar.gz newspipe-ef09843b60ee565d270cf9575a9cfb420dcf2a0f.tar.bz2 newspipe-ef09843b60ee565d270cf9575a9cfb420dcf2a0f.zip |
Removed email field.
Diffstat (limited to 'src/web/templates')
-rw-r--r-- | src/web/templates/admin/create_user.html | 3 | ||||
-rw-r--r-- | src/web/templates/admin/dashboard.html | 2 | ||||
-rw-r--r-- | src/web/templates/login.html | 6 | ||||
-rw-r--r-- | src/web/templates/opml.xml | 1 | ||||
-rw-r--r-- | src/web/templates/profile.html | 3 |
5 files changed, 2 insertions, 13 deletions
diff --git a/src/web/templates/admin/create_user.html b/src/web/templates/admin/create_user.html index 5afa22b2..40aad468 100644 --- a/src/web/templates/admin/create_user.html +++ b/src/web/templates/admin/create_user.html @@ -12,9 +12,6 @@ {{ form.nickname.label }} {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} - {{ form.email.label }} - {{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} - {{ form.password.label }} {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html index 19c67b8e..a710e1be 100644 --- a/src/web/templates/admin/dashboard.html +++ b/src/web/templates/admin/dashboard.html @@ -10,7 +10,6 @@ <tr> <th>#</th> <th>{{ _('Nickname') }}</th> - <th>{{ _('Email') }}</th> <th>{{ _('Member since') }}</th> <th>{{ _('Last seen') }}</th> <th>{{ _('Actions') }}</th> @@ -28,7 +27,6 @@ {% endif %} {% if user.id == current_user.id %} (It's you!){% endif %} </td> - <td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td> <td class="date">{{ user.date_created | datetime }}</td> <td class="date">{{ user.last_seen | datetime }}</td> <td> diff --git a/src/web/templates/login.html b/src/web/templates/login.html index 4bbb28f9..d2724ac3 100644 --- a/src/web/templates/login.html +++ b/src/web/templates/login.html @@ -7,9 +7,9 @@ {{ form.hidden_tag() }} <div class="form-group"> - {{ form.email_or_nickmane(class_="form-control", placeholder=_('Your email or nickname')) }} + {{ form.nickmane(class_="form-control", placeholder=_('Your nickname')) }} </div> - {% for message in form.email_or_nickmane.errors %} + {% for message in form.nickmane.errors %} <div class="alert alert-warning" role="alert">{{ message }}</div> {% endfor %} @@ -24,7 +24,5 @@ </form> </div> <a href="/signup" class="btn btn-default">{{ _('Sign up') }}</a> - - <a href="{{ url_for('user.recover') }}" class="btn btn-default">{{ _('Forgot password') }}</a> </div><!-- /.container --> {% endblock %} diff --git a/src/web/templates/opml.xml b/src/web/templates/opml.xml index 5f65329e..3862772d 100644 --- a/src/web/templates/opml.xml +++ b/src/web/templates/opml.xml @@ -6,7 +6,6 @@ <dateCreated>{{ now | datetime }}</dateCreated> <dateModified>{{ now | datetime }}</dateModified> <ownerName>{{ user.nickname }}</ownerName> - <ownerEmail>{{ user.email }}</ownerEmail> </head> <body> {% for feed in user.feeds %} <outline title="{{ feed.title|escape }}" text="{{ feed.title|escape }}" description="{{ feed.description|escape }}" {% if feed.category_id != None %}category="/{{ categories[feed.category_id].name }}"{% endif %} xmlUrl="{{ feed.link|escape }}" htmlUrl="{{ feed.site_link|escape }}" /> diff --git a/src/web/templates/profile.html b/src/web/templates/profile.html index 58d907ef..523e7c3c 100644 --- a/src/web/templates/profile.html +++ b/src/web/templates/profile.html @@ -22,9 +22,6 @@ {{ form.nickname.label }} {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} - {{ form.email.label }} - {{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} - {{ form.password.label }} {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} |