Esempio n. 1
0
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,
        })
Esempio n. 2
0
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,
        }
    )
Esempio n. 3
0
 def page_context(self, context):
     context.update({
         'title': _('About Weblate'),
         'versions': get_versions() + get_optional_versions(),
         'allow_index': True,
     })
Esempio n. 4
0
 def page_context(self, context):
     context.update({
         'title': _('About Weblate'),
         'versions': get_versions() + get_optional_versions(),
         'allow_index': True,
     })