From ecc89f710972f1901d139446ce92b0543849114f Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 26 May 2017 23:23:00 +0200 Subject: updated layout --- src/web/templates/layout.html | 5 +++-- src/web/templates/management.html | 2 +- src/web/views/bookmark.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html index 26cd91b7..dc62104f 100644 --- a/src/web/templates/layout.html +++ b/src/web/templates/layout.html @@ -50,7 +50,7 @@
@@ -114,7 +114,8 @@ {% else %} -
  •  {{ _('Popular') }}
  • +
  •  {{ _('Bookmarks') }}
  • +
  •  {{ _('Popular') }}
  •  {{ _('About') }}
  • {% endif %} diff --git a/src/web/templates/management.html b/src/web/templates/management.html index 61eafe75..62e28dbe 100644 --- a/src/web/templates/management.html +++ b/src/web/templates/management.html @@ -12,7 +12,7 @@

    {{ _('Your bookmarks') }}

    -

    {{ _('You have') }} {{ nb_bookmarks }} {{ _('bookmarks') }}.

    +

    {{ _('You have') }} {{ nb_bookmarks }} {{ _('bookmarks') }}.

    {{ _('Delete all bookmarks') }}
    diff --git a/src/web/views/bookmark.py b/src/web/views/bookmark.py index 04e79c09..9263b49f 100644 --- a/src/web/views/bookmark.py +++ b/src/web/views/bookmark.py @@ -49,7 +49,7 @@ bookmark_bp = Blueprint('bookmark', __name__, url_prefix='/bookmark') @bookmarks_bp.route('/', defaults={'per_page': '50'}, methods=['GET']) -def list(per_page): +def list_(per_page): "Lists the bookmarks." head_titles = [gettext("Bookmarks")] -- cgit