コード例 #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,
     })