Fixes in templates.

portnov [2008-06-14 13:01:00]
Fixes in templates.
Filename
templates/request.html
templates/requests.html
diff --git a/templates/request.html b/templates/request.html
index 832a231..6c2d154 100644
--- a/templates/request.html
+++ b/templates/request.html
@@ -4,6 +4,9 @@
 {% block title %}Запрос функциональности: {{request.name}}{% endblock %}

 {% block main %}
+<div class='links'>
+  <a href='{% url mgmt.views.requests request.project.id %}'>{{request.project.name}}</a>
+</div>
 <h2>Запрос функциональности: {{request.name}}</h2>

 <div class='request request-state-{{request.status}}'>
diff --git a/templates/requests.html b/templates/requests.html
index 3784a8f..a024228 100644
--- a/templates/requests.html
+++ b/templates/requests.html
@@ -4,7 +4,7 @@
 {% block title %}Запросы функциональности для проекта {{project.name}}{% endblock %}

 {% block main %}
-<h2>Запросы функциональности для проекта {{project.name}}</h2>
+<h2>Запросы функциональности для проекта <a href='{% url mgmt.views.one_project project.id %}'>{{project.name}}</a></h2>

 {% if requests %}
   {% if can_request %}
ViewGit