lib/rdoc/generator/template/rails/class.rhtml in sdoc-2.3.2 vs lib/rdoc/generator/template/rails/class.rhtml in sdoc-2.4.0
- old
+ new
@@ -43,9 +43,12 @@
<ul class="files">
<% klass.in_files.each do |file| %>
<li><a href="<%= "#{rel_prefix}/#{h file.path}" %>"><%= h file.absolute_name %></a></li>
<% end %>
</ul>
+ <% if ENV['HORO_BADGE_VERSION'] %>
+ <div id="version-badge"><%= ENV['HORO_BADGE_VERSION'] %></div>
+ <% end %>
</div>
<main id="bodyContent">
<%= include_template '_context.rhtml', {:context => klass, :rel_prefix => rel_prefix} %>
</main>