Subversion Repositories DevTools

Rev

Rev 1295 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1293 dpurdie 1
 
2
[%# Screen for displaying the heading information of a topic.  The
3
    actual view topic data is still generated directly from the perl
4
    script, as it is complex HTML that doesn't need to be
5
    customised. #%]
6
 
7
[% PROCESS header.html.tmpl displaymenu = 1 version = version 
8
                            closehead = closehead %]
9
 
10
[%# Display any "feedback" to the user if necessary. #%]
11
[% IF feedback != '' %]
12
    <span class="feedback">[% feedback %]</span>
13
    <p>
14
[% END %]
15
 
16
<table cellpadding="5" cellspacing="0" border="0" width="100%">
17
<tr class="tab">
18
   <td width="1%" nowrap class=[% IF topicview == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
19
	<a class="tab" href="[% view_topic_url %]">Topic Text</a></td>
20
   <td width="1" class="space">&nbsp;</td>
21
   <td width="1%" nowrap class=[% IF topiccomments == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
22
	<a class="tab" href="[% view_comments_url %]">Topic Comments ([% number_comments %])</a></td>
23
   <td width="1" class="space">&nbsp;</td>
24
   <td width="1%" nowrap class=[% IF topicproperties == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
25
	<a class="tab" href="[% view_topic_properties_url %]">Topic Properties</a></td>
26
   <td width="1" class="space">&nbsp;</td>
27
   <td width="1%" nowrap class=[% IF topicinfo == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
28
	<a class="tab" href="[% view_topicinfo_url %]">Topic Information</a> </td>
29
   <td colspan=2 bgcolor="#eeeeee" align=right><b>[% author | html_entity %]</b></td>
30
</tr>
31
</table>
32
 
33
<table cellpadding="5" cellspacing="0" border="0" width="100%">
34
<tr class="tab">
35
    <td>Topic title: <b>[% title | html_entity %]</b></td>
36
    <td align=right>[% document_creation_time | html_entity %]</td>
37
</tr>
38
</table>
39
 
40
[%# 29-Aug-07 SJK: If optional URL is provided, display it #%]
41
[% IF desc_url != '' %]
42
<span style="obsolete-header">Cross-reference:</span>
43
  <a href="[% desc_url %]">[% desc_url | html_entity %]</a>
44
  <br>
45
[% END %]
46
 
47
[%# If this topic obsoletes any other topics, show them now #%]
48
[% IF obsoleted_topics.size > 0 %]
49
<span style="obsolete-header">Topics obsoletes:</span>
50
  [% FOREACH entry = obsoleted_topics %]
51
    <a href="[% entry.view_url %]">[% entry.title | html_entity %]</a>[% IF ! loop.last() %],[% END %]
52
  [% END %]
53
  <br>
54
[% END %]
55
 
56
[%# If this topic is obsoleted by other topics, show them now #%]
57
[% IF obsoleted_by.size > 0 %]
58
<span style="obsolete-header">Obsoleted by:</span>
59
  [% FOREACH entry = obsoleted_by %]
60
    <a href="[% entry.view_url %]">[% entry.title | html_entity %]</a>[% IF ! loop.last() %],[% END %]
61
  [% END %]
62
  <br>
63
[% END %]