cfbe: API: bugdir.bug_shortname(bug) -> bug.id.user()
authorChris Ball <cjb@laptop.org>
Wed, 23 Jun 2010 00:05:51 +0000 (20:05 -0400)
committerChris Ball <cjb@laptop.org>
Wed, 23 Jun 2010 00:05:51 +0000 (20:05 -0400)
FIXME: More instances here.

interfaces/web/templates/list.html

index 1d409f7b5640e39a0429cb23a4e185595b71c2a9..83007d3e05658fca609714fccda7a8a449238eaf 100644 (file)
@@ -15,8 +15,8 @@
         </tr>
         {% for bug in bugs %}
         <tr>
-            <td>{{ bd.bug_shortname(bug) }}</td>
-            <td><a href="/bug?id={{ bd.bug_shortname(bug)}}">
+            <td>{{ bug.id.user() }}</td>
+            <td><a href="/bug?id={{ bug.id.user() }}">
                 {{ bug.summary|e|truncate(70) }}</a></td>
             <td>{{ bug.status }}</td>
             <td>{{ bug.target }}</td>
@@ -24,4 +24,4 @@
         </tr>
         {% endfor %}
     </table>
-{% endblock %}
\ No newline at end of file
+{% endblock %}