Revision b327aaef
Added by Serghei Mihai over 8 years ago
corbo/templates/corbo/base.html | ||
---|---|---|
1 | 1 |
{% extends "gadjo/base.html" %} |
2 | 2 |
{% load i18n static %} |
3 |
{% block page-title %}{% trans "Corbo" %}{% endblock %} |
|
3 |
{% block page-title %} |
|
4 |
{% trans 'Announces' as default_site_title %} |
|
5 |
{% firstof site_title default_site_title %} |
|
6 |
{% endblock %} |
|
7 |
|
|
8 |
{% block site-title %} |
|
9 |
{% trans 'Announces' as default_site_title %} |
|
10 |
{% firstof site_title default_site_title %} |
|
11 |
{% endblock %} |
|
4 | 12 |
|
5 | 13 |
{% block css %} |
6 | 14 |
<link rel='stylesheet' type='text/css' href='{% static "css/corbo.css" %}' /> |
... | ... | |
17 | 25 |
{% url "auth_logout" %} |
18 | 26 |
{% endblock %} |
19 | 27 |
|
20 |
{% block site-title %} {% trans "Announces" %}{% endblock %} |
|
28 |
{% block homepage-url %}{{portal_agent_url}}{% endblock %} |
|
29 |
{% block homepage-title %}{{portal_agent_title}}{% endblock %} |
|
21 | 30 |
|
22 |
{% block more-user-links %} |
|
23 |
{{ block.super }} |
|
24 |
{% if user.is_authenticated and user.is_superuser %} |
|
25 |
<a href="{% url 'manage' %}">{% trans "Management" %}</a> |
|
26 |
{% endif %} |
|
31 |
{% block breadcrumb %} |
|
32 |
{% if portal_agent_url %}{{ block.super }}{% endif %} |
|
33 |
<a href="{% url 'manage' %}">{% trans "Announces" %}</a> |
|
27 | 34 |
{% endblock %} |
28 | 35 |
|
29 | 36 |
{% block content %} |
Also available in: Unified diff
breadcrumb and title fix on management page (#12540)