From: Frank Lichtenheld Date: Tue, 5 Feb 2008 21:10:22 +0000 (+0100) Subject: html/menu.inc: rename to html/util.inc X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=commitdiff_plain;h=b06d2d6bf65379030a5d8233c96dac01ba2b7556 html/menu.inc: rename to html/util.inc No reason to include yet another include file, so give this one a more general name. --- diff --git a/templates/html/menu.inc b/templates/html/menu.inc deleted file mode 100644 index aa9c43d..0000000 --- a/templates/html/menu.inc +++ /dev/null @@ -1,10 +0,0 @@ -[% BLOCK menuitem -%] - [ [% prefix -%] - [%- IF url -%] - [% name %] - [%- ELSE -%] - [% name %] - [%- END -%] -  ] -[%- END -%] -[% BLOCK marker %] [[% text %]] [%- END %] diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 5389798..ff589b9 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -29,7 +29,7 @@ navigation = nav_arr -%] -[% PROCESS 'html/menu.inc' %] +[% PROCESS 'html/util.inc' %] [% FOREACH s IN suites %] [% '
' IF loop.first %] [%- IF s == suite -%] diff --git a/templates/html/suite_index.tmpl b/templates/html/suite_index.tmpl index baf70e4..d42c528 100644 --- a/templates/html/suite_index.tmpl +++ b/templates/html/suite_index.tmpl @@ -6,7 +6,7 @@ keywords = suite navigation = nav_arr %] -[% PROCESS 'html/menu.inc' %] +[% PROCESS 'html/util.inc' %] [% FOREACH s IN suites %] [% '
' IF loop.first %] [%- IF s == suite -%] diff --git a/templates/html/util.inc b/templates/html/util.inc new file mode 100644 index 0000000..aa9c43d --- /dev/null +++ b/templates/html/util.inc @@ -0,0 +1,10 @@ +[% BLOCK menuitem -%] + [ [% prefix -%] + [%- IF url -%] + [% name %] + [%- ELSE -%] + [% name %] + [%- END -%] +  ] +[%- END -%] +[% BLOCK marker %] [[% text %]] [%- END %]