diff --git a/templates/Makefile.am b/templates/Makefile.am index a4d0c84db8f57738182818a0c89d407159f455bc..b1571840e3a48aa27b81bd9cf634f5c3f5f5b5a6 100644 --- a/templates/Makefile.am +++ b/templates/Makefile.am @@ -22,7 +22,6 @@ nobase_templates_DATA = \ web/index-nobanner.tt2.html \ web/notices.tt2.html \ web/select_sp.tt2.html \ - web/title.tt2.html \ web/validate_token.tt2.html EXTRA_DIST = $(nobase_templates_DATA) diff --git a/templates/web/index.tt2.html b/templates/web/index.tt2.html index 1f52ff3fdf780a3512565a7cac58bb1a9cc49532..4726654c10282cf88e2f248c4d895c9d3c433939 100644 --- a/templates/web/index.tt2.html +++ b/templates/web/index.tt2.html @@ -185,7 +185,7 @@ jQuery(function($){ </SCRIPT> -<title> [% PROCESS 'web/title.tt2.html' %] </title> +<title>[% IF subtitle %][% title %] - [% subtitle %][% ELSE %][% title %][% END %]</title> </head> @@ -197,7 +197,7 @@ jQuery(function($){ <li class="logo align-right"><a href="http://www.geant.net" title="Geant home page" target="_blank"><img alt="GEANT logo" width="100" src="images/geant_logo_rgb_300dpi.jpg"/></a></li> </ul> <div class="title"> - <span class=""><h1>[% PROCESS 'web/title.tt2.html' %]</h1></span> + <span class=""><h1>[% IF subtitle %][% title %] - [% subtitle %][% ELSE %][% title %][% END %]</h1></span> </div> </header> diff --git a/templates/web/title.tt2.html b/templates/web/title.tt2.html deleted file mode 100644 index 1a5f00f0a642323bfaa9563bb04adcc8f94f69b8..0000000000000000000000000000000000000000 --- a/templates/web/title.tt2.html +++ /dev/null @@ -1,6 +0,0 @@ -[% conf.app_name %] - [% IF actions.$action && actions.$action.title %] - - -[% FILTER encode_utf8 %][% actions.$action.title %][% END %] - [% ELSE %] - [% END %]