lib/rdoc/generator/template/rails/file.rhtml in sdoc-2.3.2 vs lib/rdoc/generator/template/rails/file.rhtml in sdoc-2.4.0
- old
+ new
@@ -30,9 +30,12 @@
<a href="<%= github %>" target="_blank" class="github_url">on GitHub</a>
<% end %>
</li>
<li>Last modified: <%= file.file_stat.mtime %></li>
</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 => file, :rel_prefix => rel_prefix} %>
</main>