damned-lies r1478 - in trunk: . stats templates
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1478 - in trunk: . stats templates
- Date: Sat, 7 Mar 2009 11:07:34 +0000 (UTC)
Author: claudep
Date: Sat Mar 7 11:07:34 2009
New Revision: 1478
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1478&view=rev
Log:
2009-03-07 Claude Paroz <claude 2xlibre net>
* stats/utils.py: Fix detection of previous msgid.
* templates/module_images.html: Fixed class name of fuzzy-containing
cells.
Modified:
trunk/ChangeLog
trunk/stats/utils.py
trunk/templates/module_images.html
Modified: trunk/stats/utils.py
==============================================================================
--- trunk/stats/utils.py (original)
+++ trunk/stats/utils.py Sat Mar 7 11:07:34 2009
@@ -339,7 +339,7 @@
for i, line in islice(enumerate(lines), 0, None, 4):
fig = {'path': '', 'hash': ''}
- fig['fuzzy'] = (line=='#, fuzzy' or line[:4]=='#| "')
+ fig['fuzzy'] = (line=='#, fuzzy' or line[:8]=='#| msgid')
path_match = re_path.match(lines[i+1])
if path_match and len(path_match.groups()):
fig['path'] = path_match.group(1)
Modified: trunk/templates/module_images.html
==============================================================================
--- trunk/templates/module_images.html (original)
+++ trunk/templates/module_images.html Sat Mar 7 11:07:34 2009
@@ -23,7 +23,7 @@
<a href="{{ vcs_web_path }}/C/{{ fig.path }}"><span class="path">C/{{ fig.path }}</span><br/></a>
<a href="{{ vcs_path }}/C/{{ fig.path }}"><img class="screenshot" src="{{ vcs_path }}/C/{{ fig.path }}"/></a>
</td>
- <td valign="top" class="$tdclass">
+ <td valign="top" class="{{ fig.fuzzy|yesno:"fuzzy," }}">
{% if fig.translated %}
{% if fig.translated_file %}
<a href="{{ vcs_web_path }}/{{ locale }}/{{ fig.path }}"><span class="path">{{ locale }}/{{ fig.path }}</span></a><br/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]