Changeset 1158 in main


Ignore:
Timestamp:
06/01/12 15:41:07 (7 years ago)
Author:
pcosquer
Message:

templates: adds the site name to the title

Location:
trunk/openPLM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/base_views.py

    r983 r1158  
    4242from django.http import HttpResponseRedirect, HttpResponseServerError, Http404 
    4343from django.contrib.auth.decorators import login_required 
     44from django.contrib.sites.models import Site 
    4445 
    4546from openPLM import get_version 
     
    248249        'can_generate_pdf' : can_generate_pdf(), 
    249250        'openPLM_version' : _version, 
     251        'site' : Site.objects.get_current(), 
    250252        } 
    251253 
  • trunk/openPLM/templates/base.html

    r1125 r1158  
    1414 
    1515        <title> 
    16             openPLM - {{user}} - {{object_type}} | {{object_reference}} | {{object_revision}} 
     16            openPLM - {{user}} - {{object_type}} | {{object_reference}} | {{object_revision}} {{site.domain}} 
    1717        </title> 
    1818        <meta name="Robots" content="none"/> 
Note: See TracChangeset for help on using the changeset viewer.