add note column in version list
authorraph
Sat, 13 Feb 2010 10:23:30 +0100
changeset 177 6fcd0f9cc08b
parent 170 31288d47e729
child 178 bfb36a5d5e50
add note column in version list
src/cm/templates/site/text_history.html
--- a/src/cm/templates/site/text_history.html	Fri Feb 12 15:54:48 2010 +0100
+++ b/src/cm/templates/site/text_history.html	Sat Feb 13 10:23:30 2010 +0100
@@ -77,6 +77,7 @@
             <th>{% blocktrans %}Version{% endblocktrans %}</th>
             <th colspan="2" width="1%">{% blocktrans %}Selection{% endblocktrans %}</th>
             <th>{% blocktrans %}Title{% endblocktrans %}</th>
+            <th>{% blocktrans %}Note{% endblocktrans %}</th>
             <th>{% blocktrans %}Author{% endblocktrans %}</th>
             <th>{% blocktrans %}Created{% endblocktrans %}</th>
             <th>{% blocktrans %}# comments{% endblocktrans %}</th>
@@ -137,6 +138,7 @@
                 --> 
                 </script>
             </td>
+            <td>{{ text_version.note|default_if_none:"" }}</td>
             <td>{{ text_version.get_name }}</td>
             <td>{{ text_version.created|local_date }}</td>
             <td>{{ text_version|nb_comments:request }}</td>