mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
6f8b7e15fe
* Adjust padding/margin around and inside of blockquotes * Use ems for p margin * Since we will be adding a custom file whose title is camel-case, make two changes to the header: * Drop "File:" in the header for files * Change styles for header and search to use standard case instead of all caps, and drop letter spacing * Make footer smaller and more human readable
14 lines
605 B
Text
14 lines
605 B
Text
<div id="menu">
|
|
<% unless @file && @file.filename == 'README.md' %>
|
|
<span class="title">
|
|
<%= linkify('file:README.md', 'Home') %>
|
|
</span> »
|
|
<% end %>
|
|
<% if @contents || @file %>
|
|
<span class="title"><%= @breadcrumb_title.sub(/\AFile: /, "") %></span>
|
|
<% elsif object.is_a?(CodeObjects::Base) %>
|
|
<%= @breadcrumb.map {|obj| "<span class='title'>" + linkify(obj, obj.name) + "</span>" }.join(" » ") %>
|
|
<%= @breadcrumb.size > 0 ? " » " : "" %>
|
|
<span class="title"><%= object.root? ? "Top Level Namespace" : object.name(true) %></span>
|
|
<% end %>
|
|
</div>
|