Subversion Repositories DevTools

Rev

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


[%# Screen for displaying the heading information of a topic.  The
    actual view topic data is still generated directly from the perl
    script, as it is complex HTML that doesn't need to be
    customised. #%]

[% PROCESS header.html.tmpl displaymenu = 1 version = version 
                            closehead = closehead %]

[%# Display any "feedback" to the user if necessary. #%]
[% IF feedback != '' %]
    <span class="feedback">[% feedback %]</span>
    <p>
[% END %]

<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tr class="tab">
   <td width="1%" nowrap class=[% IF topicview == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
        <a class="tab" href="[% view_topic_url %]">Topic Text</a></td>
   <td width="1" class="space">&nbsp;</td>
   <td width="1%" nowrap class=[% IF topiccomments == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
        <a class="tab" href="[% view_comments_url %]">Topic Comments ([% number_comments %])</a></td>
   <td width="1" class="space">&nbsp;</td>
   <td width="1%" nowrap class=[% IF topicproperties == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
        <a class="tab" href="[% view_topic_properties_url %]">Topic Properties</a></td>
   <td width="1" class="space">&nbsp;</td>
   <td width="1%" nowrap class=[% IF topicinfo == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
        <a class="tab" href="[% view_topicinfo_url %]">Topic Information</a> </td>
   <td colspan=2 bgcolor="#eeeeee" align=right><b>[% author | html_entity %]</b></td>
</tr>
</table>

<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tr class="tab">
    <td>Topic title: <b>[% title | html_entity %]</b></td>
    <td align=right>[% document_creation_time | html_entity %]</td>
</tr>
</table>

[%# 29-Aug-07 SJK: If optional URL is provided, display it #%]
[% IF desc_url != '' %]
<span style="obsolete-header">Cross-reference:</span>
  <a href="[% desc_url %]">[% desc_url | html_entity %]</a>
  <br>
[% END %]

[%# If this topic obsoletes any other topics, show them now #%]
[% IF obsoleted_topics.size > 0 %]
<span style="obsolete-header">Topics obsoletes:</span>
  [% FOREACH entry = obsoleted_topics %]
    <a href="[% entry.view_url %]">[% entry.title | html_entity %]</a>[% IF ! loop.last() %],[% END %]
  [% END %]
  <br>
[% END %]

[%# If this topic is obsoleted by other topics, show them now #%]
[% IF obsoleted_by.size > 0 %]
<span style="obsolete-header">Obsoleted by:</span>
  [% FOREACH entry = obsoleted_by %]
    <a href="[% entry.view_url %]">[% entry.title | html_entity %]</a>[% IF ! loop.last() %],[% END %]
  [% END %]
  <br>
[% END %]