Commits

angri  committed 39c534d

расставлены тайтлы страниц

  • Participants
  • Parent commits 950c27c

Comments (0)

Files changed (6)

File bsproj/templates/brainstill/idea_detail.html

 {% extends "layout0.html" %}
 {% load i18n brainstill comments %}
 
+{% block title %}{{ idea }} — {{ block.super }}{% endblock %}
+
 {% block content %}
   <h1>
     <span class="idea-number">#{{ idea.pk }} </span>

File bsproj/templates/brainstill/idea_new.html

 {% extends "layout0.html" %}
 {% load i18n %}
 
+{% block title %}{% blocktrans %}New idea for {{ project }}{% endblocktrans %} &mdash; {{ block.super }}{% endblock %}
+
 {% block content %}
   {% with project.get_absolute_url as project_url %}
     <h1>{% blocktrans %}Propose an idea for <a href="{{ project_url }}">{{ project }}</a>{% endblocktrans %}</h1>

File bsproj/templates/brainstill/project_detail.html

 {% extends "layout0.html" %}
 {% load i18n brainstill comments %}
 
+{% block title %}{{ project }} &mdash; {{ block.super }}{% endblock %}
+
 {% block content %}
   <h1>{{ project }}</h1>
   <p class="info">

File bsproj/templates/comments/preview.html

 {% extends "layout0.html" %}
 {% load i18n comments %}
 
+{% block title %}{% trans "Comment preview" %} &mdash; {{ block.super }}{% endblock %}
 
 {% block content %}
   <h1>{% blocktrans with form.target_object.get_absolute_url as url and form.target_object as target %}

File bsproj/templates/registration/login.html

 {% extends "layout0.html" %}
 {% load i18n %}
 
+{% block title %}{% trans "Log in" %} &mdash; {{ block.super }}{% endblock %}
+
 {% block content %}
   <h1>{% trans "Log in" %}</h1>
   <form action="" method="post" class="login">

File bsproj/templates/registration/registration_form.html

 {% extends "layout0.html" %}
 {% load i18n %}
 
+{% block title %}{% trans "Register" %} &mdash; {{ block.super }}{% endblock %}
+
 {% block content %}
   <h1>{% trans "Register" %}</h1>
   <form action="" method="post" class="register">