damned-lies r1178 - in trunk: . stats templates/languages
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1178 - in trunk: . stats templates/languages
- Date: Tue, 18 Nov 2008 07:57:36 +0000 (UTC)
Author: claudep
Date: Tue Nov 18 07:57:36 2008
New Revision: 1178
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1178&view=rev
Log:
2008-11-18 Claude Paroz <claude 2xlibre net>
* stats/views.py: One get_object_or_404 was missing.
* templates/languages/language_release.html: s/external/xternal to match
RELEASE_STATUS_CHOICES.
Modified:
trunk/ChangeLog
trunk/stats/views.py
trunk/templates/languages/language_release.html
Modified: trunk/stats/views.py
==============================================================================
--- trunk/stats/views.py (original)
+++ trunk/stats/views.py Tue Nov 18 07:57:36 2008
@@ -48,10 +48,11 @@
def docimages(request, module_name, potbase, branch_name, langcode):
mod = get_object_or_404(Module, name=module_name)
- stat = Statistics.objects.get(branch__module=mod.id,
- branch__name=branch_name,
- domain__name=potbase,
- language__locale=langcode)
+ stat = get_object_or_404(Statistics,
+ branch__module=mod.id,
+ branch__name=branch_name,
+ domain__name=potbase,
+ language__locale=langcode)
context = {
'pageSection': "module",
'module': mod,
Modified: trunk/templates/languages/language_release.html
==============================================================================
--- trunk/templates/languages/language_release.html (original)
+++ trunk/templates/languages/language_release.html Tue Nov 18 07:57:36 2008
@@ -30,7 +30,7 @@
<a href="#" onclick="return showHideCompleted();">{% trans "Show completed modules" %}</a>
</p>
-{% ifequal release.status "external" %}
+{% ifequal release.status "xternal" %}
<p><i>{% trans "The modules of this release are not part of the GNOME SVN repository. Please check each module's web page to see where to send translations." %}</i></p>
{% endifequal %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]