[Telepathy-commits] [telepathy-spec/master] Don't show summary box if there is nothing to summarize

Davyd Madeley davyd at madeley.id.au
Mon Mar 23 12:29:33 PDT 2009


---
 doc/templates/interface.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index dddd1b5..74622fc 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -17,6 +17,7 @@
   </div>
   <div class="main">
 
+    #if $interface.methods or $interface.signals or $interface.properties or $interface.types
     <div class="summary">
      <a name="summary"></a>
      #if $interface.methods
@@ -102,6 +103,7 @@
      </table>
     #end if
    </div>
+   #end if
 
    #if $interface.causes_havoc
    <div class="havoc"><span class="warning">WARNING:</span>
-- 
1.5.6.5




More information about the telepathy-commits mailing list