I modified the admin base site login page slightly to be less
authorDiane Trout <diane@caltech.edu>
Tue, 7 Oct 2008 21:15:41 +0000 (21:15 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 7 Oct 2008 21:15:41 +0000 (21:15 +0000)
stanford specific. It would be nice if there was someway of
passing variables to the admin site templates so we could
provide per site branding without having to commit the site
customization to the repository

htswfrontend/templates/admin/base_site.html

index f58c2792a0aba19682faa12b435c0504fb085955..c212302590f1d29faa7dec442113f0b45bfac748 100644 (file)
@@ -1,10 +1,16 @@
 {% extends "admin/base.html" %}
 {% load i18n %}
 
-{% block title %}{{ title }} | {% trans 'dev site admin' %}{% endblock %}
+{% block title %}
+{{ title }}|{%trans "dev site admin" %}
+{% endblock %}
 
 {% block branding %}
-<h1 id="site-name" style="background-color:#cccccc;color:black">{% trans 'STANFORD ENCODE - Dev Site' %}</h1>
+<h1 id="site-name" style="background-color:#cccccc;color:black">
+  {%block sitename %}
+    {% trans 'HTS Workflow Dev Server' %}
+  {%endblock%}
+</h1>
 {% endblock %}
 
 {% block nav-global %}{% endblock %}