lib/rdoc/generator/template/rails/class.rhtml in sdoc-0.4.1 vs lib/rdoc/generator/template/rails/class.rhtml in sdoc-0.4.2

- old
+ new

@@ -6,20 +6,20 @@ <title><%= h klass.full_name %></title> <meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" /> <%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %> </head> -<body> +<body> <div class="banner"> <% if ENV['HORO_PROJECT_NAME'] %> <span><%= ERB::Util.html_escape(ENV['HORO_PROJECT_NAME']) %> <%= ERB::Util.html_escape(ENV['HORO_PROJECT_VERSION']) %></span><br /> <% end %> <h1> - <span class="type"><%= klass.module? ? 'Module' : 'Class' %></span> - <%= h klass.full_name %> + <span class="type"><%= klass.module? ? 'Module' : 'Class' %></span> + <%= h klass.full_name %> <% if klass.type == 'class' %> - <span class="parent">&lt; + <span class="parent">&lt; <% if String === klass.superclass %> <%= klass.superclass %> <% elsif !klass.superclass.nil? %> <a href="<%= klass.aref_to klass.superclass.path %>"><%= h klass.superclass.full_name %></a> <% end %> @@ -34,6 +34,6 @@ </div> <div id="bodyContent"> <%= include_template '_context.rhtml', {:context => klass, :rel_prefix => rel_prefix} %> </div> </body> -</html> \ No newline at end of file +</html>