Commit 64331eab authored by Michal Čihař's avatar Michal Čihař

Mention all used projects on about page

parent ca7d0fe5
...@@ -20,7 +20,7 @@ Whoosh ...@@ -20,7 +20,7 @@ Whoosh
http://bitbucket.org/mchaput/whoosh/ http://bitbucket.org/mchaput/whoosh/
PyCairo PyCairo
http://cairographics.org/pycairo/ http://cairographics.org/pycairo/
Django-south south
http://south.aeracode.org/ http://south.aeracode.org/
Installation Installation
......
...@@ -29,6 +29,14 @@ ...@@ -29,6 +29,14 @@
<th><a href="http://bitbucket.org/mchaput/whoosh/">Whoosh</a></th> <th><a href="http://bitbucket.org/mchaput/whoosh/">Whoosh</a></th>
<td>{{ whoosh_version }}</td> <td>{{ whoosh_version }}</td>
</tr> </tr>
<tr>
<th><a href="http://cairographics.org/pycairo/">PyCairo</a></th>
<td>{{ cairo_version }}</td>
</tr>
<tr>
<th><a href="http://south.aeracode.org/">south</a></th>
<td>{{ south_version }}</td>
</tr>
</table> </table>
{% endblock %} {% endblock %}
......
...@@ -1149,12 +1149,16 @@ def about(request): ...@@ -1149,12 +1149,16 @@ def about(request):
import whoosh import whoosh
import django import django
import git import git
import cairo
import south
return render_to_response('about.html', RequestContext(request, { return render_to_response('about.html', RequestContext(request, {
'title': _('About Weblate'), 'title': _('About Weblate'),
'tt_version': translate.__version__.sver, 'tt_version': translate.__version__.sver,
'whoosh_version': whoosh.versionstring(), 'whoosh_version': whoosh.versionstring(),
'django_version': django.get_version(), 'django_version': django.get_version(),
'git_version': git.__version__, 'git_version': git.__version__,
'cairo_version': cairo.version,
'south_version': south.__version__,
})) }))
@user_passes_test(lambda u: u.has_perm('trans.commit_translation') or u.has_perm('trans.update_translation')) @user_passes_test(lambda u: u.has_perm('trans.commit_translation') or u.has_perm('trans.update_translation'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment