diff --git a/ckanext/ozwillo_theme/templates/user/read_base.html b/ckanext/ozwillo_theme/templates/user/read_base.html new file mode 100644 index 0000000..8ad56ca --- /dev/null +++ b/ckanext/ozwillo_theme/templates/user/read_base.html @@ -0,0 +1,105 @@ +{% extends "page.html" %} + +{% set user = c.user_dict %} + +{% block subtitle %}{{ user.display_name }} - {{ _('Users') }}{% endblock %} + +{% block breadcrumb_content %} + {{ h.build_nav('user_index', _('Users')) }} + {{ h.build_nav('user_datasets', user.display_name|truncate(35), id=user.name) }} +{% endblock %} + +{% block content_action %} + {% if h.check_access('user_update', user) %} + {% link_for _('Manage'), controller='user', action='edit', id=user.name, class_='btn', icon='wrench' %} + {% endif %} +{% endblock %} + +{% block content_primary_nav %} + {{ h.build_nav_icon('user_datasets', _('Datasets'), id=user.name) }} + {{ h.build_nav_icon('user_activity_stream', _('Activity Stream'), id=user.name) }} +{% endblock %} + +{% block secondary_content %} +
+ {% if c.is_myself %} + {% trans %}You have not provided a biography.{% endtrans %} + {% else %} + {% trans %}This user has no biography.{% endtrans %} + {% endif %} +
+ {% endif %} + {% endblock %} + {% block user_nums %} +{{ user.apikey }}