1. Andy Mikhailenko
  2. orgtool

Commits

Andy Mikhailenko  committed 86c06cb

Fixed broken template.

  • Participants
  • Parent commits a29e7b6
  • Branches default

Comments (0)

Files changed (1)

File orgtool/ext/needs/templates/need_index.html

View file
 
 <p><a href="{{ admin_url_for_query(object_list, namespace='tasks') }}">View in admin</a></p>
 
-<p><a href="{{ url_for('devel_tasks.add_need') }}">Add a need</a></p>
+<p><a href="{{ url_for('orgtool.ext.needs.views.add_need') }}">Add a need</a></p>
 
 <p>There are {{ object_list|count }} needs.</p>
 
     <p>(BTW, WTF? :)</p>
     <ul>
     {% for need in unprocessed %}
-        <li><a href="{{ url_for('devel_tasks.need', pk=need.pk) }}">{{ need }}</a></li>
+        <li><a href="{{ url_for('orgtool.ext.needs.views.need', pk=need.pk) }}">{{ need }}</a></li>
     {% endfor %}
     </ul>
 {% endif %}
     {% if need.is_active() %}
     <li>
         {#% if need.project %}
-            <a href="{{ url_for('devel_tasks.project', pk=need.project.pk) }}">{{ need.project }}</a>:
+            <a href="{{ url_for('orgtool.ext.needs.views.project', pk=need.project.pk) }}">{{ need.project }}</a>:
         {% endif %#}
         {% if need.stakeholders %}
             {{ need.stakeholders|join(', ') }} &mdash;
         {% endif %}
-        <a href="{{ url_for('devel_tasks.need', pk=need.pk) }}" 
+        <a href="{{ url_for('orgtool.ext.needs.views..need', pk=need.pk) }}" 
         class="important need">
         {{ need }}</a>
     </li>
 
 {% for need in object_list %}
     {% if need.is_satisfied %}
-        <a href="{{ url_for('devel_tasks.need', pk=need.pk) }}"
+        <a href="{{ url_for('orgtool.ext.needs.views.need', pk=need.pk) }}"
            class="satisfied need">{{ need }}</a>,
     {% endif %}
 {% endfor %} here we are!
 
 {% for need in object_list %}
     {% if need.is_discarded %}
-        <a href="{{ url_for('devel_tasks.need', pk=need.pk) }}"
+        <a href="{{ url_for('orgtool.ext.needs.views.need', pk=need.pk) }}"
            class="discarded need">{{ need }}</a>,
     {% endif %}
 {% endfor %} nuff said.