예제 #1
0
파일: basic.py 프로젝트: sergey48k/weblate
def about(request):
    """Show about page with version information."""
    return render(
        request, 'about.html', {
            'title': _('About Weblate'),
            'versions': get_versions() + get_optional_versions(),
            'allow_index': True,
        })
예제 #2
0
파일: basic.py 프로젝트: nblock/weblate
def about(request):
    """Show about page with version information."""
    return render(
        request,
        'about.html',
        {
            'title': _('About Weblate'),
            'versions': get_versions() + get_optional_versions(),
            'allow_index': True,
        }
    )
예제 #3
0
파일: about.py 프로젝트: nijel/weblate
 def page_context(self, context):
     context.update({
         'title': _('About Weblate'),
         'versions': get_versions() + get_optional_versions(),
         'allow_index': True,
     })
예제 #4
0
파일: about.py 프로젝트: atallahade/weblate
 def page_context(self, context):
     context.update({
         'title': _('About Weblate'),
         'versions': get_versions() + get_optional_versions(),
         'allow_index': True,
     })