<tr class="entry row-stub">
<td data-stub-value="version"></td>
<td>
- <span data-stub-value="description"></span>
+ <span data-stub-value="date"></span>
+ <br/><span data-stub-value="author"></span>
<br />
- <span data-stub-value="author"></span>, <span data-stub-value="date"></span>
+ <span data-stub-value="description"></span>
</td>
<td>
<div data-stub-value="publishable"></div>
from django.middleware.gzip import GZipMiddleware
from django.utils.decorators import decorator_from_middleware
from django.utils.encoding import smart_unicode
+from django.utils.formats import localize
from django.utils.translation import ugettext as _
from django.views.decorators.http import require_POST, require_GET
from django.views.generic.simple import direct_to_template
"version": change.revision,
"description": change.description,
"author": change.author_str(),
- "date": change.created_at,
+ "date": localize(change.created_at),
"publishable": _("Publishable") + "\n" if change.publishable else "",
"tag": ',\n'.join(unicode(tag) for tag in change.tags.all()),
})
font-weight: bold;
}
-#changes-list td[data-stub-value =
-'version'] {
+#changes-list td {
vertical-align: text-top;
}
-#changes-list *[data-stub-value =
-'date'], #changes-list *[data-stub-value = 'author'] {
- font-size: 11px;
+#changes-list *[data-stub-value = 'description'] {
+ font-size: .8em;
color: gray;
+ white-space: pre-line;
}
/*